Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 210 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2382/0.2382, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 68.36 kB / 468.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1497, allocations: 61.04 MB / 0.5173 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004758/0.1544, allocations: 2.373 MB / 0.5197 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.156, allocations: 0.6164 MB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.1562, allocations: 4 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.1564, allocations: 39.58 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1566, allocations: 75.33 kB / 0.5204 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1569, allocations: 63.86 kB / 0.5204 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.1573, allocations: 294.7 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1575, allocations: 72.7 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1577, allocations: 111.6 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1579, allocations: 103.5 kB / 0.521 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.1579, allocations: 27.98 kB / 0.521 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.158, allocations: 20 kB / 0.521 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.158, allocations: 55.83 kB / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1582, allocations: 103.5 kB / 0.5212 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.1586, allocations: 282.9 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1586, allocations: 0 / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1586, allocations: 0 / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1586, allocations: 0 / 0.5215 GB, free: 2.461 MB / 398.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.0008932/0.1595, allocations: 477.5 kB / 0.5219 GB, free: 1.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1595, allocations: 8.031 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.1596, allocations: 28.8 kB / 0.522 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.16, allocations: 187.1 kB / 0.5221 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.16, allocations: 16.81 kB / 0.5221 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.16, allocations: 28.36 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.1605, allocations: 268.7 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1605, allocations: 3.938 kB / 0.5224 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.1605, allocations: 12 kB / 0.5224 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1605, allocations: 4 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1608, allocations: 141.7 kB / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1621, allocations: 0.6672 MB / 0.5232 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1623, allocations: 94.48 kB / 0.5233 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.1624, allocations: 40.84 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1625, allocations: 3.938 kB / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1625, allocations: 42.56 kB / 0.5234 GB, free: 320 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1625, allocations: 0 / 0.5234 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001798/0.1643, allocations: 0.6427 MB / 0.524 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1644, allocations: 55.41 kB / 0.5241 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1646, allocations: 206.5 kB / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1646, allocations: 29.7 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1648, allocations: 168.2 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1649, allocations: 67.38 kB / 0.5245 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.1649, allocations: 37.7 kB / 0.5246 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1651, allocations: 330.8 kB / 0.5249 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1652, allocations: 63.97 kB / 0.525 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1654, allocations: 109 kB / 0.5251 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.1658, allocations: 177 kB / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1658, allocations: 0 / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005592/0.1663, allocations: 286.4 kB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1663, allocations: 4 kB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1663, allocations: 0 / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.1666, allocations: 73.67 kB / 0.5256 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1668, allocations: 36.08 kB / 0.5256 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.1693, allocations: 2.752 MB / 0.5283 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1694, allocations: 8 kB / 0.5283 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1694, allocations: 4.312 kB / 0.5283 GB, free: 10.95 MB / 414.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.0001486/0.1696, allocations: 138.3 kB / 0.5284 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1696, allocations: 27.8 kB / 0.5285 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.1697, allocations: 25.8 kB / 0.5285 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1697, allocations: 4 kB / 0.5285 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1697, allocations: 0 / 0.5285 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1697, allocations: 0 / 0.5285 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1699, allocations: 193.2 kB / 0.5287 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1699, allocations: 96 / 0.5287 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1701, allocations: 23.92 kB / 0.5287 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.1702, allocations: 73.59 kB / 0.5288 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1703, allocations: 0 / 0.5288 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.1727, allocations: 2.749 MB / 0.5315 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1727, allocations: 3.984 kB / 0.5315 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.1734, allocations: 392.5 kB / 0.5318 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.1735, allocations: 15.94 kB / 0.5318 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1735, allocations: 4 kB / 0.5319 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1737, allocations: 16.11 kB / 0.5319 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.1738, allocations: 27.89 kB / 0.5319 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1738, allocations: 7.938 kB / 0.5319 GB, free: 6.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.174, allocations: 152 kB / 0.532 GB, free: 6.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.174, allocations: 0 / 0.532 GB, free: 6.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.1744, allocations: 64 kB / 0.5321 GB, free: 6.781 MB / 414.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.0001742/0.1745, allocations: 99.19 kB / 0.5322 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.1754, allocations: 409 kB / 0.5326 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1754, allocations: 0 / 0.5326 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.1759, allocations: 321.2 kB / 0.5329 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1763, allocations: 33.19 kB / 0.5329 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1776, allocations: 0.5427 MB / 0.5335 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.1778, allocations: 138.2 kB / 0.5336 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1779, allocations: 19.38 kB / 0.5336 GB, free: 5.133 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1779, allocations: 0 / 0.5336 GB, free: 5.133 MB / 414.1 MB Notification: Performance of Templates: time 0.007483/0.1854, allocations: 4.551 MB / 0.5381 GB, free: 0.5781 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.42001688387245]