Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.00099/0.00099, 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.001423/0.001423, 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 0.9541/0.9541, allocations: 158.6 MB / 186 MB, free: 2.77 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.131/0.131, allocations: 32.37 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.947e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.00117/0.00119, allocations: 0.5406 MB / 299.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.001775, allocations: 271.1 kB / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.001802, allocations: 0 / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.001819, allocations: 4 kB / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.469e-05/0.001834, allocations: 0 / 299.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.002145, allocations: 51.75 kB / 299.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.002201, allocations: 4 kB / 299.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.002236, allocations: 0 / 299.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.002264, allocations: 0 / 299.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.002296, allocations: 4 kB / 299.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.002306, allocations: 0 / 299.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.002465, allocations: 67.81 kB / 300 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.002474, allocations: 4 kB / 300 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002493, allocations: 3.984 kB / 300 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.002617, allocations: 63.81 kB / 300.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002619, allocations: 3.938 kB / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002619, allocations: 0 / 300.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.002624, allocations: 0 / 300.1 MB, free: 1.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002421/0.002866, allocations: 262.3 kB / 300.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.002902, allocations: 8.031 kB / 300.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.002926, allocations: 4.938 kB / 300.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.016e-05/0.002987, allocations: 109.8 kB / 300.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.002995, allocations: 384 / 300.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.003002, allocations: 4.359 kB / 300.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.003068, allocations: 55.97 kB / 300.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003075, allocations: 4.188 kB / 300.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003081, allocations: 384 / 300.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003085, allocations: 384 / 300.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.003106, allocations: 37.62 kB / 300.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.342e-05/0.00317, allocations: 56.98 kB / 300.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.003215, allocations: 44.31 kB / 300.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.003232, allocations: 34.56 kB / 300.7 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-06/0.003235, allocations: 0 / 300.7 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.00327, allocations: 60.33 kB / 300.8 MB, free: 392 kB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.00327, allocations: 0 / 300.8 MB, free: 392 kB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000123/0.003393, allocations: 118.7 kB / 300.9 MB, free: 248 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.003427, allocations: 81.11 kB / 300.9 MB, free: 148 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.003462, allocations: 89.86 kB / 301 MB, free: 48 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.00347, allocations: 25.7 kB / 301.1 MB, free: 16 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1735/0.1769, allocations: 80.14 kB / 301.1 MB, free: 19.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.177, allocations: 3.188 kB / 301.1 MB, free: 19.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.177, allocations: 12 kB / 301.2 MB, free: 19.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.177, allocations: 316.4 kB / 301.5 MB, free: 19.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.1771, allocations: 27.33 kB / 301.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.1771, allocations: 28.19 kB / 301.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.1771, allocations: 66.11 kB / 301.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1771, allocations: 0.9062 kB / 301.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.671e-05/0.1772, allocations: 85.22 kB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1772, allocations: 32.86 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1772, allocations: 1.312 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1772, allocations: 0.5 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.1772, allocations: 1.094 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1772, allocations: 2.859 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.1773, allocations: 1 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1773, allocations: 1 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.1773, allocations: 141.4 kB / 301.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-06/0.1773, allocations: 5.312 kB / 301.9 MB, free: 19.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.1773, allocations: 4.438 kB / 301.9 MB, free: 19.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1773, allocations: 1.266 kB / 301.9 MB, free: 19.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1773, allocations: 4.438 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1773, allocations: 0.5625 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.593e-05/0.1774, allocations: 62.47 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1774, allocations: 4.906 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1774, allocations: 0 / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.1774, allocations: 1.594 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.1774, allocations: 1.547 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.1774, allocations: 0.5938 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1774, allocations: 5.172 kB / 301.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.194e-05/0.1775, allocations: 118.4 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.1775, allocations: 1.406 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1775, allocations: 2 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-06/0.1775, allocations: 0.75 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-06/0.1775, allocations: 2.938 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1775, allocations: 1.688 kB / 302.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.482e-06/0.1775, allocations: 8.172 kB / 302.1 MB, free: 18.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1775, allocations: 0 / 302.1 MB, free: 18.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.1776, allocations: 27.59 kB / 302.1 MB, free: 18.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00052/0.1782, allocations: 334.2 kB / 302.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.1782, allocations: 121.4 kB / 302.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1782, allocations: 0 / 302.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.1783, allocations: 88.61 kB / 302.6 MB, free: 18.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.183e-05/0.1783, allocations: 4.125 kB / 302.6 MB, free: 18.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.1784, allocations: 106.3 kB / 302.7 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.929e-05/0.1785, allocations: 54.52 kB / 302.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.053e-06/0.1785, allocations: 2.438 kB / 302.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.1785, allocations: 52.56 kB / 302.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1785, allocations: 0 / 302.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of Templates: time 0.002703/0.1812, allocations: 0.9398 MB / 303.8 MB, free: 18.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.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: 2.9044975033029914]