Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001387/0.001387, 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.001754/0.001754, 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.8468/0.8468, allocations: 158.6 MB / 186 MB, free: 2.762 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.1479/0.1479, allocations: 32.38 MB / 270.7 MB, free: 14.62 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.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.019e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002094/0.002114, allocations: 1.731 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1148/0.1169, allocations: 0.7916 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.117, allocations: 0 / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1173, allocations: 42.72 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1175, allocations: 61.02 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1177, allocations: 85.73 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1179, allocations: 102.4 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.118, allocations: 5.797 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.1181, allocations: 52.77 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1182, allocations: 26.55 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1182, allocations: 3.438 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.1183, allocations: 41.09 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.1183, allocations: 31.14 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1183, allocations: 17.11 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1185, allocations: 95.67 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1185, allocations: 0.8906 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1185, allocations: 0 / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1185, allocations: 0 / 302.2 MB, free: 19.13 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000329/0.1188, allocations: 319.2 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1189, allocations: 8.531 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1189, allocations: 9.656 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.119, allocations: 146.3 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.119, allocations: 2.453 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1191, allocations: 2.562 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1192, allocations: 64.19 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1192, allocations: 5.969 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.1192, allocations: 0 / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1192, allocations: 2.312 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.1192, allocations: 8.844 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1194, allocations: 165 kB / 302.9 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/0.1195, allocations: 88.7 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.1195, allocations: 13.28 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1195, allocations: 1.969 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.213e-05/0.1196, allocations: 69.52 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.1196, allocations: 3.312 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002889/0.1199, allocations: 109.2 kB / 303.2 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.1199, allocations: 54.14 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.12, allocations: 167.5 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.12, allocations: 27.61 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.12, allocations: 92.69 kB / 303.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.12, allocations: 25.45 kB / 303.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1201, allocations: 28 kB / 303.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.1201, allocations: 323.6 kB / 303.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.1201, allocations: 14.5 kB / 303.9 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.1201, allocations: 23.95 kB / 304 MB, free: 17.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.1202, allocations: 39.53 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1202, allocations: 1.156 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.853e-05/0.1202, allocations: 77.53 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1203, allocations: 6.875 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1203, allocations: 5.719 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1203, allocations: 4.75 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.1203, allocations: 14.05 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1203, allocations: 1.922 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.1204, allocations: 6.062 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1204, allocations: 9.875 kB / 304.1 MB, free: 17.6 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.045e-05/0.1204, allocations: 117.2 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1204, allocations: 13.81 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1206, allocations: 77.06 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1206, allocations: 3.172 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1206, allocations: 0.5312 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1206, allocations: 2.266 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1208, allocations: 293.4 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1208, allocations: 0.9375 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.1208, allocations: 8.922 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1208, allocations: 5.969 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1208, allocations: 5.203 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1208, allocations: 1.125 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1208, allocations: 1.781 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.1209, allocations: 220 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.1209, allocations: 7.812 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1209, allocations: 2.906 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.121, allocations: 2.922 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.121, allocations: 9.781 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.121, allocations: 3.031 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.121, allocations: 52.75 kB / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.121, allocations: 1.25 kB / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000151/0.1212, allocations: 21.89 kB / 305 MB, free: 16.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001113/0.1223, allocations: 0.5677 MB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1224, allocations: 49.84 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.1224, allocations: 1.625 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.1225, allocations: 25.19 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1227, allocations: 39.81 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.123, allocations: 208.7 kB / 305.8 MB, free: 16.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.123, allocations: 67.3 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.111e-05/0.123, allocations: 18.22 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1231, allocations: 66.56 kB / 306 MB, free: 16.35 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1231, allocations: 0 / 306 MB, free: 16.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004261/0.1274, allocations: 2.01 MB / 308 MB, free: 16.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.0674709109589458]