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.0009325/0.0009325, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001092/0.001092, allocations: 173.3 kB / 24.14 MB, free: 356 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 0.8465/0.8465, allocations: 158.6 MB / 186 MB, free: 2.727 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.1239/0.1239, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.533e-06/1.533e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.055e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.144/0.144, allocations: 6.597 MB / 305.7 MB, free: 17.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.1482, allocations: 2.207 MB / 307.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.1489, allocations: 24.78 kB / 307.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.1511, allocations: 1.615 MB / 309.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.1526, allocations: 0.7163 MB / 310.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1538, allocations: 0.6938 MB / 310.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.155, allocations: 1.228 MB / 312.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.1559, allocations: 0.8167 MB / 313 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/0.1569, allocations: 0.6951 MB / 313.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.1575, allocations: 0.4901 MB / 314.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1576, allocations: 96.31 kB / 314.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.1582, allocations: 277.9 kB / 314.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.1584, allocations: 259.6 kB / 314.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1587, allocations: 400.2 kB / 315.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1599, allocations: 1.02 MB / 316.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1599, allocations: 0 / 316.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1599, allocations: 0 / 316.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.698e-05/0.1599, allocations: 0 / 316.2 MB, free: 11.44 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.002419/0.1623, allocations: 1.703 MB / 317.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1624, allocations: 8.781 kB / 317.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.1677, allocations: 1.97 MB / 319.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.1683, allocations: 339.5 kB / 320.2 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.1683, allocations: 98.42 kB / 320.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1684, allocations: 128.8 kB / 320.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.1691, allocations: 0.9509 MB / 321.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1692, allocations: 7.938 kB / 321.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/0.1692, allocations: 52 kB / 321.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1692, allocations: 32 kB / 321.5 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.1698, allocations: 0.5931 MB / 322 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.1733, allocations: 2.735 MB / 324.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.174, allocations: 0.6043 MB / 325.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1742, allocations: 147.8 kB / 325.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.1743, allocations: 36.92 kB / 325.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1743, allocations: 43.56 kB / 325.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 3.847e-06/0.1743, allocations: 4 kB / 325.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.0007188/0.175, allocations: 488 kB / 326.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.175, allocations: 60.41 kB / 326.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1753, allocations: 422.8 kB / 326.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1753, allocations: 41.7 kB / 326.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1754, allocations: 0.4886 MB / 327.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1756, allocations: 325.1 kB / 327.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1757, allocations: 198.8 kB / 327.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.1758, allocations: 378.6 kB / 328 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1759, allocations: 114.5 kB / 328.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.1761, allocations: 396.7 kB / 328.5 MB, free: 440 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.1766, allocations: 0.5958 MB / 329.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1766, allocations: 0 / 329.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0007929/0.1774, allocations: 0.6018 MB / 329.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1775, allocations: 8.969 kB / 329.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.1775, allocations: 8 kB / 329.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.1778, allocations: 77.59 kB / 329.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.1783, allocations: 251.6 kB / 330 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.1798, allocations: 2.376 MB / 332.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.1802, allocations: 111.4 kB / 332.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.1803, allocations: 43.98 kB / 332.5 MB, free: 12.06 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.0002558/0.1805, allocations: 177.5 kB / 332.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.1806, allocations: 71.94 kB / 332.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.1813, allocations: 0.6957 MB / 333.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1813, allocations: 15.56 kB / 333.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1813, allocations: 0 / 333.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1813, allocations: 11.97 kB / 333.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.1832, allocations: 1.206 MB / 334.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1832, allocations: 8 kB / 334.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.1836, allocations: 167.7 kB / 334.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.1838, allocations: 77.86 kB / 335 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.1838, allocations: 27.98 kB / 335 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1849, allocations: 2.352 MB / 337.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1849, allocations: 4 kB / 337.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.1857, allocations: 0.8084 MB / 338.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.1858, allocations: 71.38 kB / 338.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.1858, allocations: 28.12 kB / 338.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.1861, allocations: 55.28 kB / 338.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.1862, allocations: 88.28 kB / 338.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.1862, allocations: 24 kB / 338.4 MB, free: 5.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1864, allocations: 176.7 kB / 338.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1864, allocations: 0 / 338.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00074/0.1871, allocations: 335.2 kB / 338.9 MB, free: 5.262 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.0002385/0.1874, allocations: 148.1 kB / 339.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007542/0.1881, allocations: 0.7102 MB / 339.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/0.1881, allocations: 8.5 kB / 339.8 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.1885, allocations: 484.5 kB / 340.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.189, allocations: 92.41 kB / 340.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1916, allocations: 1.694 MB / 342 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.1917, allocations: 177.9 kB / 342.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.192, allocations: 129.9 kB / 342.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.1923, allocations: 183.3 kB / 342.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1923, allocations: 7.938 kB / 342.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of Templates: time 0.01338/0.2057, allocations: 9.408 MB / 351.9 MB, free: 8.137 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 -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.1679272670298815]