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.001685/0.001685, allocations: 79.92 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.00243/0.00243, allocations: 169 kB / 24.14 MB, free: 360 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.043/1.043, 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.1456/0.1456, 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.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 1.693e-06/1.693e-06, allocations: 0 / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.842e-05, allocations: 6.25 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.00126/0.001289, allocations: 0.4974 MB / 299.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.001953, allocations: 263.2 kB / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.001988, allocations: 0 / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.00201, allocations: 0 / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.1e-05/0.002021, allocations: 0 / 299.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.002447, allocations: 51.75 kB / 299.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.002508, allocations: 15.92 kB / 299.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.002548, allocations: 0 / 299.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.002582, allocations: 4 kB / 299.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.002613, allocations: 4 kB / 299.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.002623, allocations: 0 / 299.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.002757, allocations: 67.81 kB / 299.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.002766, allocations: 0 / 299.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.002783, allocations: 0 / 299.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.002914, allocations: 63.8 kB / 300 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.002916, allocations: 4 kB / 300 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002917, allocations: 0 / 300 MB, free: 1.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002921, allocations: 0 / 300 MB, free: 1.273 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.0002818/0.003203, allocations: 262.2 kB / 300.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.003242, allocations: 16.03 kB / 300.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.00327, allocations: 0.9375 kB / 300.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/0.003345, allocations: 105.8 kB / 300.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.003358, allocations: 384 / 300.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.003369, allocations: 4.375 kB / 300.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.537e-05/0.003454, allocations: 55.95 kB / 300.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003463, allocations: 192 / 300.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.00347, allocations: 4.375 kB / 300.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.003476, allocations: 4.312 kB / 300.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.003496, allocations: 29.64 kB / 300.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.666e-05/0.003572, allocations: 61.05 kB / 300.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.003622, allocations: 40.28 kB / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.003642, allocations: 34.66 kB / 300.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-06/0.003646, allocations: 0 / 300.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.003688, allocations: 64.25 kB / 300.7 MB, free: 488 kB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.003688, allocations: 0 / 300.7 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.003823, allocations: 114.8 kB / 300.8 MB, free: 348 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.003865, allocations: 77.11 kB / 300.9 MB, free: 252 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.761e-05/0.003902, allocations: 89.86 kB / 300.9 MB, free: 152 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.003913, allocations: 25.83 kB / 301 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.003937, allocations: 88.14 kB / 301.1 MB, free: 28 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.003955, allocations: 4.328 kB / 301.1 MB, free: 24 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.003977, allocations: 9.719 kB / 301.1 MB, free: 8 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1857/0.1896, allocations: 316.2 kB / 301.4 MB, free: 19.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1897, allocations: 26.64 kB / 301.4 MB, free: 19.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1897, allocations: 27.39 kB / 301.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.1898, allocations: 63.33 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1898, allocations: 0.75 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.771e-05/0.1898, allocations: 90.91 kB / 301.6 MB, free: 19.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.1899, allocations: 34.23 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1899, allocations: 1.688 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1899, allocations: 0 / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-06/0.1899, allocations: 3.438 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1899, allocations: 0 / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.1899, allocations: 3.031 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1899, allocations: 0.5 kB / 301.6 MB, free: 19.42 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 6.024e-05/0.19, allocations: 138.5 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.19, allocations: 2.891 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.19, allocations: 3.5 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.19, allocations: 1.719 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.19, allocations: 7.625 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.19, allocations: 0.5625 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.262e-05/0.1901, allocations: 62.73 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.1901, allocations: 0 / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.1901, allocations: 0.5312 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1901, allocations: 4.422 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.1901, allocations: 0.5 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1901, allocations: 1.766 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1901, allocations: 1.344 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.431e-05/0.1902, allocations: 116.3 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.1902, allocations: 3.438 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1902, allocations: 3.203 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-06/0.1902, allocations: 0.9844 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.1902, allocations: 2.25 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1902, allocations: 2.391 kB / 302 MB, free: 19.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.552e-06/0.1902, allocations: 10.55 kB / 302 MB, free: 19.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1902, allocations: 0.6562 kB / 302 MB, free: 19.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.1904, allocations: 27.14 kB / 302 MB, free: 19.05 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.0006212/0.191, allocations: 324.9 kB / 302.3 MB, free: 18.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.1911, allocations: 120.5 kB / 302.4 MB, free: 18.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1911, allocations: 0 / 302.4 MB, free: 18.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.1911, allocations: 86.58 kB / 302.5 MB, free: 18.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.004e-05/0.1912, allocations: 4.578 kB / 302.5 MB, free: 18.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.1913, allocations: 107.3 kB / 302.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.353e-05/0.1914, allocations: 54.16 kB / 302.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.502e-06/0.1914, allocations: 1.031 kB / 302.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1914, allocations: 51.81 kB / 302.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1914, allocations: 8.312 kB / 302.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003254/0.1946, allocations: 0.9407 MB / 303.7 MB, free: 18.38 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 -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: 3.3107071612030268]