Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008339/0.000834, allocations: 101.6 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008756/0.0008757, allocations: 176.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 243 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.24 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00281/0.1327, allocations: 2.232 MB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1339, allocations: 0.5883 MB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.1341, allocations: 4 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.1343, allocations: 27.77 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1346, allocations: 67.47 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1349, allocations: 55.89 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.1353, allocations: 286.7 kB / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1354, allocations: 65.05 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1357, allocations: 99.56 kB / 476.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1358, allocations: 107.5 kB / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.1359, allocations: 12 kB / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.1359, allocations: 12 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.136, allocations: 35.83 kB / 476.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1361, allocations: 137.1 kB / 476.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1363, allocations: 207.7 kB / 476.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1363, allocations: 0 / 476.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1364, allocations: 0 / 476.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1364, allocations: 0 / 476.8 MB, free: 9.387 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007598/0.1371, allocations: 0.4952 MB / 477.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1372, allocations: 15.97 kB / 477.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.1373, allocations: 28.56 kB / 477.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1376, allocations: 239.9 kB / 477.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1376, allocations: 20.75 kB / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1376, allocations: 20.38 kB / 477.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.138, allocations: 199.6 kB / 477.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1381, allocations: 3.984 kB / 477.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1381, allocations: 8 kB / 477.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1381, allocations: 8 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1384, allocations: 145.6 kB / 478 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.1397, allocations: 0.8103 MB / 478.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1399, allocations: 106.5 kB / 478.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1401, allocations: 56.97 kB / 479 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1401, allocations: 4 kB / 479 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1401, allocations: 30.56 kB / 479 MB, free: 7.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1401, allocations: 0 / 479 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001783/0.1419, allocations: 0.7491 MB / 479.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.142, allocations: 51.59 kB / 479.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1422, allocations: 211.7 kB / 480 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1422, allocations: 41.64 kB / 480 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.1423, allocations: 167.7 kB / 480.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1424, allocations: 55.25 kB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1424, allocations: 25.7 kB / 480.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1425, allocations: 330.8 kB / 480.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1427, allocations: 63.97 kB / 480.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1428, allocations: 113.1 kB / 480.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1432, allocations: 183.2 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1432, allocations: 0 / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005393/0.1437, allocations: 297.6 kB / 481.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1438, allocations: 6.812 kB / 481.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1438, allocations: 0 / 481.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.144, allocations: 73.83 kB / 481.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1442, allocations: 27.98 kB / 481.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.1464, allocations: 2.815 MB / 484.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1466, allocations: 12 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1466, allocations: 7.984 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1467, allocations: 138.3 kB / 484.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.1468, allocations: 15.81 kB / 484.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1468, allocations: 29.75 kB / 484.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1468, allocations: 12.05 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1468, allocations: 0 / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1469, allocations: 144 / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1472, allocations: 281.5 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1472, allocations: 3.984 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.1473, allocations: 15.98 kB / 484.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.1475, allocations: 77.59 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1475, allocations: 11.94 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.1495, allocations: 2.788 MB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1495, allocations: 144 / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1502, allocations: 416.7 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1503, allocations: 88.95 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1503, allocations: 8 kB / 488.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1505, allocations: 15.98 kB / 488.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.1506, allocations: 19.97 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1506, allocations: 4 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1507, allocations: 152.3 kB / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1507, allocations: 0 / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.1511, allocations: 60 kB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.1512, allocations: 101.5 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.1519, allocations: 423.9 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1519, allocations: 0 / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.1523, allocations: 337.5 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1527, allocations: 31.92 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1537, allocations: 0.6613 MB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.154, allocations: 0.7518 MB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.1541, allocations: 15.44 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1541, allocations: 0 / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Templates: time 0.00735/0.1614, allocations: 4.483 MB / 495.1 MB, free: 6.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches