Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002349, allocations: 177.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 100.9 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.56 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 12 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 58.84 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002008/0.1044, allocations: 1.526 MB / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1056, allocations: 0.8357 MB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.1057, allocations: 0 / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1061, allocations: 215.5 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1064, allocations: 147.5 kB / 493 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1067, allocations: 127.8 kB / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.107, allocations: 199.3 kB / 493.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1071, allocations: 21.52 kB / 493.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1072, allocations: 99.59 kB / 493.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1074, allocations: 123.6 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1074, allocations: 4 kB / 493.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.1075, allocations: 35.92 kB / 493.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.1076, allocations: 59.81 kB / 493.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1077, allocations: 53.58 kB / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1079, allocations: 155.9 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1079, allocations: 0 / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1079, allocations: 0 / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1079, allocations: 4 kB / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006639/0.1086, allocations: 0.5058 MB / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1086, allocations: 16.02 kB / 494.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1087, allocations: 27.72 kB / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.109, allocations: 267 kB / 494.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.109, allocations: 7.938 kB / 494.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.109, allocations: 4 kB / 494.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1092, allocations: 99.3 kB / 494.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1093, allocations: 0 / 494.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1093, allocations: 3.953 kB / 494.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1093, allocations: 0 / 494.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1094, allocations: 43.97 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1099, allocations: 441 kB / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1102, allocations: 113.4 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.1103, allocations: 45.64 kB / 495.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1104, allocations: 11.94 kB / 495.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1106, allocations: 120.9 kB / 495.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1106, allocations: 0 / 495.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000842/0.1115, allocations: 363.9 kB / 495.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1115, allocations: 89.09 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1119, allocations: 420.5 kB / 496.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.112, allocations: 33.7 kB / 496.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1121, allocations: 152.3 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1121, allocations: 51.36 kB / 496.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1121, allocations: 4 kB / 496.6 MB, free: 4.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1123, allocations: 342.8 kB / 496.9 MB, free: 4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1124, allocations: 43.92 kB / 497 MB, free: 3.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1125, allocations: 74.91 kB / 497 MB, free: 3.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1126, allocations: 55.97 kB / 497.1 MB, free: 3.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1126, allocations: 4 kB / 497.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003102/0.1129, allocations: 173.5 kB / 497.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.113, allocations: 8 kB / 497.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.113, allocations: 0 / 497.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.113, allocations: 4 kB / 497.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1131, allocations: 31.92 kB / 497.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1132, allocations: 4 kB / 497.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.1132, allocations: 16.05 kB / 497.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1133, allocations: 4 kB / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.1134, allocations: 173.6 kB / 497.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.1135, allocations: 31.62 kB / 497.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.1135, allocations: 34.62 kB / 497.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1136, allocations: 0 / 497.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1136, allocations: 0 / 497.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1136, allocations: 4 kB / 497.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.1143, allocations: 0.6241 MB / 498.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1143, allocations: 4 kB / 498.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.1144, allocations: 12 kB / 498.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1144, allocations: 7.984 kB / 498.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1144, allocations: 8 kB / 498.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1144, allocations: 0 / 498.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1144, allocations: 3.953 kB / 498.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.1148, allocations: 367.8 kB / 498.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.1149, allocations: 100.8 kB / 498.7 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1149, allocations: 8 kB / 498.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1151, allocations: 8.75 kB / 498.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1151, allocations: 23.92 kB / 498.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1151, allocations: 8 kB / 498.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.1154, allocations: 315 kB / 499 MB, free: 1.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1154, allocations: 7.938 kB / 499.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.1157, allocations: 36 kB / 499.1 MB, free: 1.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009219/0.1167, allocations: 476.3 kB / 499.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1169, allocations: 112 kB / 499.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.117, allocations: 0 / 499.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1171, allocations: 68.3 kB / 499.7 MB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.1176, allocations: 56.58 kB / 499.8 MB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.1184, allocations: 0.5576 MB / 0.4886 GB, free: 468 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1635/0.2819, allocations: 0.7551 MB / 0.4894 GB, free: 42.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.282, allocations: 28.17 kB / 0.4894 GB, free: 42.46 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.282, allocations: 0 / 0.4894 GB, free: 42.46 MB / 378.7 MB Notification: Performance of Templates: time 0.005158/0.2872, allocations: 3.223 MB / 0.4925 GB, free: 42.28 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time