Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 176.8 kB / 16.41 MB, free: 5.73 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.549/1.549, allocations: 205.4 MB / 222.6 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.000732/0.0007321, allocations: 92.84 kB / 270.9 MB, free: 8.352 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.2984/0.2984, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 12 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.84 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002028/0.1072, allocations: 1.479 MB / 491.7 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1091, allocations: 1.387 MB / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.1092, allocations: 3.938 kB / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1095, allocations: 47.81 kB / 493.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1097, allocations: 67.69 kB / 493.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.11, allocations: 119.8 kB / 493.3 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1102, allocations: 151.5 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.1103, allocations: 21.53 kB / 493.5 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1104, allocations: 67.64 kB / 493.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1106, allocations: 67.69 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1106, allocations: 4 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1107, allocations: 51.97 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1108, allocations: 27.84 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1108, allocations: 41.64 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.111, allocations: 128 kB / 493.9 MB, free: 7.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.111, allocations: 3.938 kB / 493.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.111, allocations: 4 kB / 493.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.111, allocations: 0 / 493.9 MB, free: 7.266 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006514/0.1117, allocations: 450.2 kB / 494.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1117, allocations: 12.02 kB / 494.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1118, allocations: 15.81 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1121, allocations: 234.7 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1121, allocations: 7.984 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1121, allocations: 15.94 kB / 494.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1124, allocations: 96.97 kB / 494.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1124, allocations: 0 / 494.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1124, allocations: 7.984 kB / 494.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1124, allocations: 3.953 kB / 494.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.1125, allocations: 27.98 kB / 494.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.1127, allocations: 214.5 kB / 495 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.113, allocations: 101.2 kB / 495.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.1131, allocations: 41.69 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1131, allocations: 4 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1133, allocations: 112.9 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1134, allocations: 0 / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004103/0.1138, allocations: 161.4 kB / 495.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1139, allocations: 140.5 kB / 495.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1141, allocations: 215.8 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1141, allocations: 25.7 kB / 495.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.1142, allocations: 112.1 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.1142, allocations: 23.72 kB / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1142, allocations: 0 / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1143, allocations: 330.8 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1144, allocations: 31.98 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1145, allocations: 73.08 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.329e-05/0.1146, allocations: 35.98 kB / 496.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1146, allocations: 0 / 496.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002384/0.1149, allocations: 130 kB / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1149, allocations: 8 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1149, allocations: 0 / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1149, allocations: 0 / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1151, allocations: 27.98 kB / 496.5 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1151, allocations: 7.953 kB / 496.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.1152, allocations: 23.83 kB / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1152, allocations: 4 kB / 496.5 MB, free: 4.336 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001008/0.1153, allocations: 125.9 kB / 496.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1153, allocations: 19.8 kB / 496.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.1154, allocations: 17 kB / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1154, allocations: 0 / 496.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1154, allocations: 3.938 kB / 496.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1154, allocations: 11.89 kB / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1156, allocations: 217.6 kB / 496.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1156, allocations: 3.938 kB / 496.9 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1156, allocations: 4 kB / 496.9 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1156, allocations: 4 kB / 496.9 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1157, allocations: 7.984 kB / 496.9 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1157, allocations: 7.984 kB / 496.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1157, allocations: 4 kB / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.116, allocations: 165.7 kB / 497.1 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.116, allocations: 100.8 kB / 497.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1161, allocations: 8 kB / 497.2 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1162, allocations: 11.98 kB / 497.2 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1162, allocations: 4 kB / 497.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1162, allocations: 7.984 kB / 497.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1164, allocations: 161.5 kB / 497.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1164, allocations: 0 / 497.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1166, allocations: 39.94 kB / 497.4 MB, free: 3.332 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008598/0.1175, allocations: 460.1 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1177, allocations: 79.84 kB / 498 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1177, allocations: 4 kB / 498 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.1178, allocations: 39.97 kB / 498 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1182, allocations: 44.41 kB / 498.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.1187, allocations: 320.7 kB / 498.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.119, allocations: 0.7205 MB / 499.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.1191, allocations: 23.42 kB / 499.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1191, allocations: 4 kB / 499.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of Templates: time 0.1697/0.2888, allocations: 2.685 MB / 0.49 GB, free: 42.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches