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.001215/0.001214, allocations: 104 kB / 17.63 MB, free: 5.523 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.001287/0.001287, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.433/1.433, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.1965/0.1965, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.59 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 60.83 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.005837/0.1367, allocations: 2.561 MB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1382, allocations: 0.596 MB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.1385, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1388, allocations: 39.58 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1391, allocations: 67.36 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1395, allocations: 75.83 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.14, allocations: 290.7 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1402, allocations: 84.58 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1405, allocations: 107.6 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1408, allocations: 115.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.1408, allocations: 24 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.1409, allocations: 24 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.141, allocations: 51.83 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1411, allocations: 131.3 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.1415, allocations: 279.3 kB / 473.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1415, allocations: 0 / 473.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1415, allocations: 4 kB / 473.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1416, allocations: 0 / 473.7 MB, free: 9.926 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.0009578/0.1425, allocations: 0.5263 MB / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1426, allocations: 8.031 kB / 474.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.1427, allocations: 32.64 kB / 474.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.143, allocations: 231.9 kB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.143, allocations: 24.81 kB / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1431, allocations: 16.38 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.1435, allocations: 195.6 kB / 474.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1435, allocations: 0 / 474.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1435, allocations: 11.98 kB / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1435, allocations: 8 kB / 474.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1438, allocations: 145.5 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.1453, allocations: 0.8025 MB / 475.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1455, allocations: 102.4 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.1456, allocations: 52.83 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1457, allocations: 4 kB / 475.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1457, allocations: 34.56 kB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1457, allocations: 0 / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001867/0.1476, allocations: 0.7253 MB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1476, allocations: 55.41 kB / 476.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.1479, allocations: 215.6 kB / 476.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1479, allocations: 25.7 kB / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.148, allocations: 167.8 kB / 477 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.1481, allocations: 51.25 kB / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.1482, allocations: 45.7 kB / 477.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1484, allocations: 330.8 kB / 477.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1485, allocations: 59.97 kB / 477.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1487, allocations: 109 kB / 477.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.149, allocations: 171.9 kB / 477.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.149, allocations: 4 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005135/0.1495, allocations: 286.9 kB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1495, allocations: 4 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1495, allocations: 4 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.1498, allocations: 69.67 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.15, allocations: 35.92 kB / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1523, allocations: 3.013 MB / 481.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1525, allocations: 8 kB / 481.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1525, allocations: 8 kB / 481.2 MB, free: 1.762 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.000152/0.1527, allocations: 133.8 kB / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.1527, allocations: 27.77 kB / 481.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.1528, allocations: 21.88 kB / 481.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1528, allocations: 4 kB / 481.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1528, allocations: 0 / 481.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1528, allocations: 96 / 481.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.1531, allocations: 293.4 kB / 481.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1531, allocations: 0 / 481.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.1532, allocations: 27.86 kB / 481.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.1534, allocations: 70.33 kB / 481.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1534, allocations: 0 / 481.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.1556, allocations: 3.017 MB / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1556, allocations: 0 / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.1562, allocations: 399.8 kB / 485.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.1563, allocations: 96.91 kB / 485.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1563, allocations: 0 / 485.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1565, allocations: 23.98 kB / 485.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.1566, allocations: 11.98 kB / 485.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1566, allocations: 8 kB / 485.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1567, allocations: 148.2 kB / 485.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 0 / 485.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.1571, allocations: 64 kB / 485.5 MB, free: 13.07 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.0001152/0.1572, allocations: 109.5 kB / 485.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.1579, allocations: 409.2 kB / 486 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1579, allocations: 0 / 486 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.1584, allocations: 333.5 kB / 486.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1588, allocations: 32.12 kB / 486.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1598, allocations: 0.5073 MB / 486.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1601, allocations: 0.748 MB / 487.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1602, allocations: 17.95 kB / 487.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.1603, allocations: 15.44 kB / 487.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1603, allocations: 0 / 487.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Templates: time 0.006509/0.1668, allocations: 2.674 MB / 490.3 MB, free: 8.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches