Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 8.926 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.0008021/0.000802, allocations: 80.81 kB / 271.2 MB, free: 8.234 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.3115/0.3115, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 16 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001875/0.1057, allocations: 1.394 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1068, allocations: 0.7461 MB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1069, allocations: 0 / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1072, allocations: 91.75 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1074, allocations: 63.8 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1076, allocations: 71.84 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1078, allocations: 91.73 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.1079, allocations: 12.22 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.108, allocations: 47.77 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.1081, allocations: 55.81 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1081, allocations: 3.938 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.1082, allocations: 36 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.1082, allocations: 23.89 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.1083, allocations: 65.39 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1085, allocations: 92.08 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1085, allocations: 0 / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1085, allocations: 0 / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1085, allocations: 0 / 493.6 MB, free: 7.84 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.0004664/0.109, allocations: 407.1 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.109, allocations: 8.031 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.109, allocations: 12.75 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1093, allocations: 208.1 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1093, allocations: 4.375 kB / 494.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1093, allocations: 12.03 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1095, allocations: 57.61 kB / 494.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1095, allocations: 7.938 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1095, allocations: 7.984 kB / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1095, allocations: 4 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.743e-05/0.1096, allocations: 15.98 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1099, allocations: 296.8 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1101, allocations: 58.62 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.1102, allocations: 24.83 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1102, allocations: 4 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1104, allocations: 67.39 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1104, allocations: 0 / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005108/0.1109, allocations: 173.1 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1109, allocations: 51.41 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1111, allocations: 218.7 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1112, allocations: 37.7 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.1112, allocations: 104.1 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1113, allocations: 27.64 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1113, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1114, allocations: 330.8 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.1115, allocations: 16 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.1115, allocations: 37.64 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1116, allocations: 65.69 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1117, allocations: 0 / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.1118, allocations: 97.53 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1119, allocations: 7.984 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1119, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1119, allocations: 4 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.112, allocations: 12 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.112, allocations: 0 / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.112, allocations: 15.97 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1121, allocations: 7.984 kB / 496 MB, free: 5.254 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 0.0001013/0.1122, allocations: 129.8 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1122, allocations: 11.81 kB / 496.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1122, allocations: 21.39 kB / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1122, allocations: 0 / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1123, allocations: 0 / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1123, allocations: 3.938 kB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.1127, allocations: 407.4 kB / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1127, allocations: 384 / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1128, allocations: 8 kB / 496.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1128, allocations: 4 kB / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1128, allocations: 8.125 kB / 496.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1128, allocations: 0 / 496.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1128, allocations: 3.938 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.113, allocations: 212.2 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1131, allocations: 92.91 kB / 496.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1131, allocations: 7.938 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1132, allocations: 4 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1132, allocations: 3.984 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1133, allocations: 4 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1134, allocations: 176.3 kB / 497 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1134, allocations: 4 kB / 497 MB, free: 4.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.1137, allocations: 20 kB / 497.1 MB, free: 4.051 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.0009216/0.1146, allocations: 461.5 kB / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1148, allocations: 63.91 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1148, allocations: 0 / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.1148, allocations: 31.97 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1152, allocations: 19.98 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.1156, allocations: 307.9 kB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1159, allocations: 0.7121 MB / 498.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1159, allocations: 15.44 kB / 498.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1159, allocations: 0 / 498.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of Templates: time 0.003312/0.1193, allocations: 1.953 MB / 0.4889 GB, free: 0.4961 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches