Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.000939, allocations: 175.5 kB / 16.72 MB, free: 4.949 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.292/1.292, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007868/0.0007869, allocations: 91.88 kB / 271.2 MB, free: 8.246 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.2931/0.2931, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003854, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002171/0.1056, allocations: 1.394 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1069, allocations: 0.75 MB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.107, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1073, allocations: 47.8 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1076, allocations: 47.81 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1078, allocations: 75.86 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.108, allocations: 91.67 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1081, allocations: 12.22 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.1082, allocations: 31.86 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.1083, allocations: 43.77 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1084, allocations: 0 / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1085, allocations: 28 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1085, allocations: 27.91 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.1086, allocations: 65.39 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1088, allocations: 104.1 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1088, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1088, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1088, allocations: 0 / 493.5 MB, free: 7.906 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.0005694/0.1094, allocations: 418.9 kB / 494 MB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1095, allocations: 8.031 kB / 494 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1095, allocations: 20.73 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1098, allocations: 219.8 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1098, allocations: 4.375 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1098, allocations: 8.109 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.11, allocations: 53.67 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.11, allocations: 3.938 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.11, allocations: 0 / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.11, allocations: 4 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.1101, allocations: 19.92 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1105, allocations: 296.9 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1107, allocations: 54.67 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1108, allocations: 24.84 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1108, allocations: 3.938 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.111, allocations: 71.38 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.111, allocations: 0 / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000539/0.1116, allocations: 181 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1116, allocations: 55.39 kB / 495 MB, free: 6.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1119, allocations: 255.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1119, allocations: 29.7 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.112, allocations: 112.1 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.112, allocations: 19.72 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.112, allocations: 0 / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1121, allocations: 342.7 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.1122, allocations: 16 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.1122, allocations: 33.7 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1124, allocations: 61.64 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1124, allocations: 4 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1126, allocations: 105.4 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1126, allocations: 10.5 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1126, allocations: 3.984 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1126, allocations: 0 / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.1127, allocations: 16 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1127, allocations: 384 / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1128, allocations: 7.938 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1128, allocations: 4 kB / 496 MB, free: 5.258 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.0001399/0.1129, allocations: 145 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.113, allocations: 19.84 kB / 496.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.113, allocations: 17.56 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.113, allocations: 4 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.113, allocations: 0 / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1131, allocations: 3.938 kB / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1135, allocations: 415.2 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1135, allocations: 0 / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1136, allocations: 11.97 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1136, allocations: 7.984 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1136, allocations: 3.938 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1136, allocations: 4 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1136, allocations: 0 / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1138, allocations: 200.2 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.1139, allocations: 88.92 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1139, allocations: 19.92 kB / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.114, allocations: 0 / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1141, allocations: 7.938 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1141, allocations: 7.984 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1142, allocations: 199 kB / 497.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1143, allocations: 0 / 497.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.1145, allocations: 31.98 kB / 497.1 MB, free: 3.992 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.001017/0.1155, allocations: 466.7 kB / 497.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1157, allocations: 55.92 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1157, allocations: 0 / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1158, allocations: 23.98 kB / 497.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1162, allocations: 32.09 kB / 497.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.1167, allocations: 332.6 kB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.117, allocations: 0.716 MB / 498.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.117, allocations: 19.44 kB / 498.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1171, allocations: 0 / 498.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of Templates: time 0.003729/0.1208, allocations: 2.015 MB / 0.489 GB, free: 340 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches