Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 112.7 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001598, allocations: 195 kB / 17.98 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2507/0.2507, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001629, allocations: 74.14 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1145, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002788/0.1173, allocations: 1.694 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1184, allocations: 0.7961 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.1185, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1189, allocations: 39.77 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1191, allocations: 59.75 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1194, allocations: 83.7 kB / 444.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1196, allocations: 99.69 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1197, allocations: 4.234 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.1198, allocations: 43.78 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.1199, allocations: 31.84 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1199, allocations: 4 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.12, allocations: 43.98 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1201, allocations: 23.91 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.1201, allocations: 31.75 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1203, allocations: 119.6 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1204, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1204, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1204, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 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.0005183/0.1209, allocations: 410.9 kB / 445.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1209, allocations: 11.89 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.121, allocations: 12.84 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1213, allocations: 208.9 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1213, allocations: 4.375 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1213, allocations: 4.125 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1215, allocations: 57.61 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1215, allocations: 4 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1215, allocations: 0 / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1215, allocations: 4 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.1216, allocations: 19.98 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.122, allocations: 288.8 kB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1222, allocations: 62.61 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.1222, allocations: 16.86 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1223, allocations: 4 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1224, allocations: 71.38 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1224, allocations: 0 / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.123, allocations: 169.2 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.123, allocations: 55.41 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1232, allocations: 186.1 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1232, allocations: 37.64 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1233, allocations: 104.1 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1233, allocations: 19.72 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1234, allocations: 25.7 kB / 446.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.1235, allocations: 322.8 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.1235, allocations: 20 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.1236, allocations: 41.64 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.1237, allocations: 66.14 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1237, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.1238, allocations: 101.5 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1239, allocations: 9.25 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1239, allocations: 4 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1239, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.124, allocations: 12 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.124, allocations: 4 kB / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1241, allocations: 15.95 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1241, allocations: 4 kB / 447.4 MB, free: 0.5039 MB / 318.1 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 8.287e-05/0.1242, allocations: 129.7 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.1242, allocations: 11.81 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1243, allocations: 28.64 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1243, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1243, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1243, allocations: 3.938 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1247, allocations: 395.3 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1247, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1248, allocations: 8 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1248, allocations: 3.984 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1248, allocations: 7.938 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1248, allocations: 4 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1248, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1251, allocations: 196.3 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1251, allocations: 88.95 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1252, allocations: 7.938 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1252, allocations: 7.984 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1253, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1253, allocations: 4 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1255, allocations: 147.4 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1255, allocations: 0 / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1257, allocations: 31.84 kB / 448.4 MB, free: 15.34 MB / 334.1 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 (8): * Single equations (assignments): 6 * 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.001183/0.1269, allocations: 470.5 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1271, allocations: 59.92 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1272, allocations: 0 / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.1272, allocations: 28.14 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1276, allocations: 32.12 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.1281, allocations: 219.2 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1286, allocations: 0.7042 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.1286, allocations: 16.88 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1287, allocations: 19.44 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1287, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.005263/0.134, allocations: 1.685 MB / 451.6 MB, free: 12.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches