Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001409/0.001409, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001822/0.001822, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.004/1.004, allocations: 158.6 MB / 186 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1384/0.1384, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.582e-05, allocations: 2.312 kB / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1443/0.1444, allocations: 6.637 MB / 305.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1492, allocations: 2.222 MB / 308 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007086/0.1499, allocations: 24.66 kB / 308 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1522, allocations: 1.605 MB / 309.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1538, allocations: 0.7092 MB / 310.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.155, allocations: 0.6815 MB / 311 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1564, allocations: 1.231 MB / 312.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.1578, allocations: 0.8133 MB / 313 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.159, allocations: 0.7054 MB / 313.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.1597, allocations: 492.5 kB / 314.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.16, allocations: 96.25 kB / 314.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.1608, allocations: 285 kB / 314.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1609, allocations: 264.6 kB / 314.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.1614, allocations: 395.4 kB / 315.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.1626, allocations: 1.018 MB / 316.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1626, allocations: 0 / 316.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1626, allocations: 0 / 316.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.831e-05/0.1627, allocations: 1.375 kB / 316.3 MB, free: 11.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002611/0.1653, allocations: 1.707 MB / 318 MB, free: 10.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1653, allocations: 8.75 kB / 318 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.1709, allocations: 1.967 MB / 319.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.1715, allocations: 339.6 kB / 320.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.1715, allocations: 102.4 kB / 320.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.1716, allocations: 120 kB / 320.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.1724, allocations: 0.9548 MB / 321.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.1724, allocations: 11.95 kB / 321.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.1724, allocations: 52 kB / 321.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1725, allocations: 31.94 kB / 321.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.1731, allocations: 0.5926 MB / 322.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.1762, allocations: 2.743 MB / 324.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.1768, allocations: 0.5973 MB / 325.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.177, allocations: 147.8 kB / 325.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.177, allocations: 40.89 kB / 325.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1771, allocations: 47.56 kB / 325.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 2.845e-06/0.1771, allocations: 0 / 325.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.0006348/0.1777, allocations: 476 kB / 326.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.1777, allocations: 68.41 kB / 326.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1779, allocations: 422.8 kB / 326.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1779, allocations: 41.7 kB / 326.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1781, allocations: 496.3 kB / 327.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1782, allocations: 333.1 kB / 327.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1783, allocations: 186.8 kB / 327.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.1784, allocations: 386.6 kB / 328.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1785, allocations: 114.6 kB / 328.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1787, allocations: 396.6 kB / 328.6 MB, free: 364 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.1792, allocations: 0.5919 MB / 329.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.1792, allocations: 4 kB / 329.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.000671/0.1799, allocations: 0.5949 MB / 329.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1799, allocations: 8.156 kB / 329.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1799, allocations: 15.94 kB / 329.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.1801, allocations: 73.58 kB / 329.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.1807, allocations: 287.6 kB / 330.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1819, allocations: 2.374 MB / 332.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.1822, allocations: 115.2 kB / 332.6 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.1823, allocations: 39.97 kB / 332.6 MB, free: 11.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.1825, allocations: 177.5 kB / 332.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.1825, allocations: 67.94 kB / 332.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/0.1832, allocations: 0.6997 MB / 333.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1832, allocations: 15.88 kB / 333.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1832, allocations: 3.438 kB / 333.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1832, allocations: 7.984 kB / 333.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1846, allocations: 1.213 MB / 334.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1846, allocations: 4 kB / 334.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.185, allocations: 204.5 kB / 335 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.1852, allocations: 61.66 kB / 335.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.1852, allocations: 28 kB / 335.1 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1862, allocations: 2.345 MB / 337.5 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1863, allocations: 11.94 kB / 337.5 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.187, allocations: 0.8084 MB / 338.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.1871, allocations: 75.36 kB / 338.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.1871, allocations: 27.98 kB / 338.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1874, allocations: 55.39 kB / 338.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.1875, allocations: 88.28 kB / 338.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.1875, allocations: 24 kB / 338.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1877, allocations: 172.7 kB / 338.7 MB, free: 5.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1877, allocations: 0 / 338.7 MB, free: 5.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006538/0.1883, allocations: 335.2 kB / 339 MB, free: 5.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.1885, allocations: 152.1 kB / 339.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007067/0.1892, allocations: 0.7088 MB / 339.9 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/0.1892, allocations: 12.5 kB / 339.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1896, allocations: 478.6 kB / 340.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.19, allocations: 90.59 kB / 340.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.1922, allocations: 1.692 MB / 342.2 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1923, allocations: 181.9 kB / 342.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.1927, allocations: 125.9 kB / 342.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.193, allocations: 191.3 kB / 342.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.193, allocations: 0 / 342.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of Templates: time 0.01366/0.2066, allocations: 9.397 MB / 352 MB, free: 8.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.388684928882867]