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.0008607/0.0008612, allocations: 98.48 kB / 17 MB, free: 6.418 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.001212/0.001212, allocations: 189.7 kB / 17.89 MB, free: 5.945 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.453/1.453, allocations: 223.3 MB / 241.9 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.24 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00275/0.1524, allocations: 2.147 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1538, allocations: 0.5691 MB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.154, allocations: 4 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1542, allocations: 31.77 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1544, allocations: 59.47 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1547, allocations: 55.94 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.155, allocations: 270.7 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1552, allocations: 68.64 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1554, allocations: 91.64 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1556, allocations: 107.5 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.1556, allocations: 12 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.1557, allocations: 16 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.1557, allocations: 35.83 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.1558, allocations: 69.58 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.156, allocations: 199.7 kB / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.156, allocations: 0 / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.087e-06/0.1561, allocations: 7.984 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1561, allocations: 3.938 kB / 475.3 MB, free: 9.934 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.0007508/0.1568, allocations: 0.4951 MB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1569, allocations: 8.562 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1569, allocations: 27.62 kB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1572, allocations: 234.7 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1572, allocations: 12.44 kB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.1573, allocations: 28 kB / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.1576, allocations: 191.2 kB / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1577, allocations: 0 / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.1577, allocations: 8 kB / 476.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.1577, allocations: 4 kB / 476.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.158, allocations: 153.6 kB / 476.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.1592, allocations: 0.8103 MB / 477.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1594, allocations: 98.48 kB / 477.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.1595, allocations: 44.84 kB / 477.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1596, allocations: 7.984 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1596, allocations: 38.52 kB / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.1596, allocations: 3.984 kB / 477.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001664/0.1613, allocations: 0.7565 MB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1613, allocations: 51.41 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1616, allocations: 211.7 kB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1616, allocations: 29.7 kB / 478.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1617, allocations: 167.8 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.1618, allocations: 59.16 kB / 478.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.1618, allocations: 0 / 478.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1619, allocations: 330.8 kB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1621, allocations: 63.97 kB / 479.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1623, allocations: 105.1 kB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1624, allocations: 86.11 kB / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1624, allocations: 4 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005207/0.163, allocations: 278.9 kB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.163, allocations: 8 kB / 479.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.163, allocations: 3.984 kB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.1633, allocations: 73.8 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1634, allocations: 35.91 kB / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.166, allocations: 2.816 MB / 482.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1661, allocations: 8.031 kB / 482.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1662, allocations: 8 kB / 482.5 MB, free: 2.121 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1663, allocations: 137.7 kB / 482.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.1664, allocations: 23.77 kB / 482.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1664, allocations: 25.86 kB / 482.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1664, allocations: 4.062 kB / 482.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1664, allocations: 0 / 482.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1665, allocations: 4 kB / 482.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1668, allocations: 281.7 kB / 483 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1668, allocations: 4 kB / 483 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.1669, allocations: 19.98 kB / 483 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.1671, allocations: 69.61 kB / 483.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1671, allocations: 12.61 kB / 483.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.1694, allocations: 2.785 MB / 485.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1694, allocations: 4 kB / 485.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.1701, allocations: 404.9 kB / 486.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.1702, allocations: 92.94 kB / 486.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1702, allocations: 8 kB / 486.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1704, allocations: 23.94 kB / 486.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.1705, allocations: 15.92 kB / 486.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1705, allocations: 7.984 kB / 486.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1707, allocations: 152.3 kB / 486.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 3.938 kB / 486.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1711, allocations: 64 kB / 486.6 MB, free: 13.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.1712, allocations: 99.25 kB / 486.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006505/0.1718, allocations: 419.5 kB / 487.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1718, allocations: 0 / 487.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.1723, allocations: 337.6 kB / 487.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1727, allocations: 29.44 kB / 487.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1738, allocations: 0.6005 MB / 488.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1741, allocations: 0.7556 MB / 488.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1742, allocations: 21.94 kB / 488.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.1743, allocations: 15.44 kB / 488.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1743, allocations: 3.938 kB / 488.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006517/0.1808, allocations: 2.436 MB / 491.3 MB, free: 8.852 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