Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001217/0.001217, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 58.87 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002487/0.1186, allocations: 1.375 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1203, allocations: 0.7383 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1205, allocations: 3.938 kB / 492.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1208, allocations: 31.84 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.121, allocations: 43.88 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1214, allocations: 67.78 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1216, allocations: 63.86 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1217, allocations: 8.234 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1219, allocations: 43.83 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.1219, allocations: 19.86 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.122, allocations: 4 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1221, allocations: 27.92 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1222, allocations: 19.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1222, allocations: 33.7 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1224, allocations: 88.03 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1225, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1225, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1225, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.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.000608/0.1231, allocations: 398.9 kB / 493.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1232, allocations: 12.02 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.1232, allocations: 15.86 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1235, allocations: 191 kB / 493.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1236, allocations: 7.984 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1236, allocations: 0 / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1238, allocations: 53.67 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1238, allocations: 3.938 kB / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1238, allocations: 0 / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1239, allocations: 8 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.124, allocations: 19.94 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1244, allocations: 280.9 kB / 493.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1247, allocations: 62.61 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1247, allocations: 0 / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.125, allocations: 71.52 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.125, allocations: 0 / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007449/0.1257, allocations: 173.1 kB / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1258, allocations: 55.41 kB / 494.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.126, allocations: 174.1 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1261, allocations: 29.7 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.1262, allocations: 166.6 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1262, allocations: 23.66 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1262, allocations: 0 / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1264, allocations: 314.8 kB / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.1265, allocations: 23.94 kB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1266, allocations: 33.7 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1267, allocations: 27.92 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1267, allocations: 4 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002912/0.127, allocations: 101.5 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1271, allocations: 4 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1271, allocations: 0 / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1271, allocations: 3.953 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1273, allocations: 24.3 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1273, allocations: 0 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.1274, allocations: 8 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1274, allocations: 4 kB / 495 MB, free: 4.277 MB / 330.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.0001298/0.1276, allocations: 125.9 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1276, allocations: 11.91 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1277, allocations: 12.72 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1277, allocations: 3.953 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1277, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1277, allocations: 3.984 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1284, allocations: 383.3 kB / 495.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1284, allocations: 4.031 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.1285, allocations: 8 kB / 495.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.1285, allocations: 7.953 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1285, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.1285, allocations: 4.172 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1285, allocations: 0 / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1289, allocations: 221.9 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.129, allocations: 92.95 kB / 495.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.129, allocations: 8 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1291, allocations: 0 / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1292, allocations: 7.984 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1292, allocations: 4 kB / 495.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1294, allocations: 131.2 kB / 496 MB, free: 3.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1294, allocations: 0 / 496 MB, free: 3.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.1298, allocations: 27.98 kB / 496.1 MB, free: 3.121 MB / 330.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.001354/0.1312, allocations: 470.5 kB / 496.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1315, allocations: 55.97 kB / 496.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1315, allocations: 4.062 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1316, allocations: 27.94 kB / 496.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.132, allocations: 23.97 kB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.1327, allocations: 255.8 kB / 496.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.133, allocations: 0.7004 MB / 497.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1331, allocations: 19.42 kB / 497.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1331, allocations: 0 / 497.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of Templates: time 0.005625/0.1387, allocations: 1.868 MB / 499.5 MB, free: 15.71 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches