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.0007768/0.0007768, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009522/0.001729, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007214/0.0007214, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000872/0.001593, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9172/0.9172, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.066, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.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.1324/0.1324, allocations: 32.36 MB / 253.6 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02086/0.1533, allocations: 12.29 MB / 265.9 MB, free: 3.984 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.253e-06/1.253e-06, allocations: 0 / 267.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.31e-05, allocations: 6.25 kB / 267.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001324/0.001347, allocations: 0.54 MB / 267.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004081/0.001756, allocations: 267 kB / 268 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.001769, allocations: 4 kB / 268 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.686e-06/0.001772, allocations: 0 / 268 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-07/0.001773, allocations: 0 / 268 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.001935, allocations: 55.75 kB / 268 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.001995, allocations: 0 / 268 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.002031, allocations: 3.984 kB / 268.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.002064, allocations: 7.938 kB / 268.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.002093, allocations: 0 / 268.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.002103, allocations: 0 / 268.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.002252, allocations: 63.89 kB / 268.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.00226, allocations: 0 / 268.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.002272, allocations: 4 kB / 268.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.0024, allocations: 55.88 kB / 268.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.649e-05/0.002416, allocations: 0 / 268.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002417, allocations: 3.938 kB / 268.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.002431, allocations: 0 / 268.2 MB, free: 1.711 MB / 266.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.0002855/0.002717, allocations: 274.2 kB / 268.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.002749, allocations: 12.03 kB / 268.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.00278, allocations: 0.9375 kB / 268.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.657e-05/0.002837, allocations: 105.8 kB / 268.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.002846, allocations: 384 / 268.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.002854, allocations: 4.375 kB / 268.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.624e-05/0.00292, allocations: 55.97 kB / 268.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.002926, allocations: 192 / 268.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.002934, allocations: 4.375 kB / 268.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.002939, allocations: 384 / 268.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.002958, allocations: 29.64 kB / 268.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.715e-05/0.003025, allocations: 61.03 kB / 268.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.003065, allocations: 44.22 kB / 268.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.003083, allocations: 34.66 kB / 268.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.003086, allocations: 0 / 268.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.003122, allocations: 64.27 kB / 268.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.003122, allocations: 4 kB / 268.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.003236, allocations: 114.7 kB / 269 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.003277, allocations: 77.11 kB / 269.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.303e-05/0.00331, allocations: 93.86 kB / 269.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003319, allocations: 25.7 kB / 269.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.003339, allocations: 80.14 kB / 269.2 MB, free: 468 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.003353, allocations: 0 / 269.2 MB, free: 468 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.003383, allocations: 13.72 kB / 269.3 MB, free: 448 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.003463, allocations: 322.8 kB / 269.6 MB, free: 116 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.003483, allocations: 25.83 kB / 269.6 MB, free: 84 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.003498, allocations: 37.64 kB / 269.6 MB, free: 40 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.003559, allocations: 60.31 kB / 269.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.003562, allocations: 0 / 269.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.911e-05/0.003631, allocations: 92.98 kB / 269.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.003668, allocations: 33.7 kB / 269.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.003673, allocations: 0 / 269.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.003683, allocations: 0 / 269.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-06/0.003688, allocations: 0 / 269.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.003691, allocations: 0 / 269.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.003709, allocations: 4.094 kB / 269.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.003718, allocations: 7.984 kB / 269.8 MB, free: 15.8 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.863e-05/0.003787, allocations: 139.5 kB / 270 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.003796, allocations: 8 kB / 270 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.003806, allocations: 3 kB / 270 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003808, allocations: 0 / 270 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003809, allocations: 0 / 270 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.003811, allocations: 0 / 270 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.854e-05/0.00387, allocations: 73.77 kB / 270 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.003871, allocations: 0 / 270 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-06/0.003872, allocations: 4 kB / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.003877, allocations: 0 / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.003881, allocations: 3.984 kB / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.003886, allocations: 0 / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.003887, allocations: 0 / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.003888, allocations: 4 kB / 270.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/0.003974, allocations: 116.4 kB / 270.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.003986, allocations: 0 / 270.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.003996, allocations: 4 kB / 270.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.004005, allocations: 4 kB / 270.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.00401, allocations: 32 / 270.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.809e-06/0.00402, allocations: 8.859 kB / 270.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00402, allocations: 0 / 270.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.004193, allocations: 19.94 kB / 270.2 MB, free: 15.36 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.00071/0.004903, allocations: 369.9 kB / 270.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.005006, allocations: 119.7 kB / 270.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.00501, allocations: 0 / 270.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.005042, allocations: 93.89 kB / 270.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.522e-05/0.005097, allocations: 7.938 kB / 270.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.005244, allocations: 108 kB / 270.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.005273, allocations: 55.34 kB / 270.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.03e-06/0.005278, allocations: 0 / 270.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.005315, allocations: 55.38 kB / 271 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005315, allocations: 4.125 kB / 271 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.00279/0.008105, allocations: 0.9339 MB / 271.9 MB, free: 13.52 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 -ignoreHideResult -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.737089459784329]