Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 174.5 kB / 16.72 MB, free: 4.961 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007643/0.0007644, allocations: 96.97 kB / 271.2 MB, free: 8.242 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.3179/0.3179, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001973/0.103, allocations: 1.394 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1042, allocations: 0.75 MB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.1042, allocations: 0 / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.1045, allocations: 35.81 kB / 493 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1047, allocations: 47.83 kB / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.105, allocations: 75.84 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1052, allocations: 87.69 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1053, allocations: 16.22 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.1054, allocations: 35.84 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.1055, allocations: 31.78 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1056, allocations: 4 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1057, allocations: 28 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.1057, allocations: 31.83 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1058, allocations: 53.52 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.106, allocations: 84.09 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.106, allocations: 4 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.106, allocations: 0 / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.106, allocations: 0 / 493.5 MB, free: 7.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004788/0.1065, allocations: 407 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1065, allocations: 8.031 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.1066, allocations: 12.84 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1068, allocations: 208.7 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1068, allocations: 4.375 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1068, allocations: 8.125 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.107, allocations: 57.61 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.107, allocations: 0 / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.107, allocations: 4 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.107, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1071, allocations: 19.92 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1075, allocations: 288.9 kB / 494.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1076, allocations: 62.67 kB / 494.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.1077, allocations: 20.8 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1077, allocations: 0 / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1079, allocations: 67.33 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1079, allocations: 0 / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.1084, allocations: 177.2 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1085, allocations: 55.41 kB / 494.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1086, allocations: 196.7 kB / 495.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1087, allocations: 29.69 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.1087, allocations: 100.1 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1088, allocations: 23.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.1088, allocations: 4 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1089, allocations: 326.8 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.109, allocations: 23.98 kB / 495.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.109, allocations: 33.7 kB / 495.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1091, allocations: 61.66 kB / 495.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1092, allocations: 0 / 495.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.1093, allocations: 101.5 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1093, allocations: 4 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1094, allocations: 8.031 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1094, allocations: 0 / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.1095, allocations: 23.92 kB / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1095, allocations: 0 / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.1095, allocations: 12.3 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1096, allocations: 4.156 kB / 495.8 MB, free: 5.426 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 (10): * Single equations (assignments): 10 * 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 8.859e-05/0.1096, allocations: 129.6 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.1097, allocations: 15.89 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.1097, allocations: 17.39 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1097, allocations: 8 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1097, allocations: 0 / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1097, allocations: 7.875 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1102, allocations: 395.2 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1102, allocations: 3.984 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1102, allocations: 8 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1102, allocations: 0 / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1102, allocations: 7.938 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1102, allocations: 7.969 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1102, allocations: 192 / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1105, allocations: 196.3 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1105, allocations: 96.84 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1106, allocations: 7.938 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1106, allocations: 4 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.1107, allocations: 11.98 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1107, allocations: 4 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1108, allocations: 152.9 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1108, allocations: 0 / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.1111, allocations: 24 kB / 496.9 MB, free: 4.25 MB / 378.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 (8): * Single equations (assignments): 6 * 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.000876/0.1119, allocations: 468.2 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1121, allocations: 55.98 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1122, allocations: 0 / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.1122, allocations: 27.92 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1125, allocations: 23.98 kB / 497.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.113, allocations: 276.2 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1132, allocations: 0.7122 MB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.1133, allocations: 19.42 kB / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1133, allocations: 0 / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of Templates: time 0.00343/0.1167, allocations: 1.898 MB / 0.4886 GB, free: 0.7695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches