Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 178.8 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 1.878/1.878, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.000846/0.0008461, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.3543/0.3543, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 16 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001842/0.1158, allocations: 1.357 MB / 491.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1169, allocations: 0.7278 MB / 492.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.117, allocations: 0 / 492.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.1174, allocations: 79.77 kB / 492.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1176, allocations: 63.8 kB / 492.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1178, allocations: 79.78 kB / 492.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.118, allocations: 83.75 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.118, allocations: 11.98 kB / 492.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.1181, allocations: 47.77 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1182, allocations: 43.83 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1182, allocations: 0 / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.1183, allocations: 23.98 kB / 492.8 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.1184, allocations: 19.92 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.1184, allocations: 37.64 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1186, allocations: 84.03 kB / 492.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1186, allocations: 4 kB / 492.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1186, allocations: 0 / 492.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1186, allocations: 4 kB / 492.9 MB, free: 8.281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00052/0.1191, allocations: 398.8 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1192, allocations: 12.03 kB / 493.3 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.1192, allocations: 7.906 kB / 493.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1195, allocations: 210.8 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1195, allocations: 0 / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1195, allocations: 0 / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1197, allocations: 49.67 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1197, allocations: 7.984 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1197, allocations: 0 / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1197, allocations: 3.953 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.1198, allocations: 15.98 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.12, allocations: 185.6 kB / 493.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1202, allocations: 54.61 kB / 493.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1203, allocations: 24.8 kB / 493.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1203, allocations: 3.938 kB / 493.9 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1205, allocations: 67.38 kB / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1205, allocations: 0 / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002638/0.1208, allocations: 101.5 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1209, allocations: 55.36 kB / 494.1 MB, free: 6.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.121, allocations: 206.4 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1211, allocations: 29.7 kB / 494.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1211, allocations: 108.1 kB / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1212, allocations: 7.812 kB / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1212, allocations: 0 / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1213, allocations: 326.8 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1213, allocations: 15.98 kB / 494.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.1214, allocations: 29.7 kB / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.1215, allocations: 20.25 kB / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1215, allocations: 0 / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.1216, allocations: 81.53 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1217, allocations: 8 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1217, allocations: 0 / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1217, allocations: 0 / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.1218, allocations: 11.98 kB / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1218, allocations: 7.891 kB / 494.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1218, allocations: 11.88 kB / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1218, allocations: 8 kB / 494.9 MB, free: 6.027 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001013/0.1219, allocations: 129.8 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.122, allocations: 11.91 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.122, allocations: 9 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.122, allocations: 0 / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.122, allocations: 3.984 kB / 495.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.122, allocations: 3.953 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1222, allocations: 189.6 kB / 495.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1222, allocations: 0 / 495.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.1222, allocations: 4 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1222, allocations: 4 kB / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1223, allocations: 0 / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1223, allocations: 4.141 kB / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1223, allocations: 3.938 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1224, allocations: 108.8 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1225, allocations: 93 kB / 495.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1225, allocations: 0 / 495.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.1226, allocations: 8 kB / 495.5 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1226, allocations: 3.984 kB / 495.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1226, allocations: 4 kB / 495.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1228, allocations: 164.2 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1228, allocations: 0 / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.123, allocations: 12 kB / 495.7 MB, free: 5.188 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008031/0.1238, allocations: 412.2 kB / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.124, allocations: 47.91 kB / 496.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.124, allocations: 0 / 496.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.124, allocations: 16 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1243, allocations: 35.86 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.1247, allocations: 262.6 kB / 496.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.125, allocations: 0.7082 MB / 497.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.125, allocations: 15.44 kB / 497.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.125, allocations: 0 / 497.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of Templates: time 0.003081/0.1281, allocations: 1.699 MB / 498.8 MB, free: 2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches