Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0006979/0.0006979, allocations: 89.03 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.3052/0.3052, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 27.98 kB / 432 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 58.84 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001919/0.1202, allocations: 1.398 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1214, allocations: 0.75 MB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.1215, allocations: 0 / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1218, allocations: 43.86 kB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1219, allocations: 55.81 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1222, allocations: 79.78 kB / 493.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1223, allocations: 87.69 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.1224, allocations: 20.2 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.1225, allocations: 43.77 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1226, allocations: 27.86 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1226, allocations: 0 / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.1227, allocations: 35.98 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1228, allocations: 31.84 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.1228, allocations: 65.38 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.123, allocations: 100.1 kB / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.123, allocations: 0 / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.123, allocations: 0 / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.123, allocations: 0 / 493.6 MB, free: 8.125 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.0005379/0.1236, allocations: 418.9 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1236, allocations: 8.031 kB / 494 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1237, allocations: 16.75 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1239, allocations: 223.7 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1239, allocations: 4.375 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.124, allocations: 8.062 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1241, allocations: 57.61 kB / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1241, allocations: 0 / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1241, allocations: 0 / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1241, allocations: 4 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.1242, allocations: 15.98 kB / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1246, allocations: 300.9 kB / 494.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1247, allocations: 58.62 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1248, allocations: 24.78 kB / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1248, allocations: 0 / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.125, allocations: 67.39 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.125, allocations: 0 / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004819/0.1255, allocations: 185 kB / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1255, allocations: 51.41 kB / 495 MB, free: 6.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1257, allocations: 259.7 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1258, allocations: 25.7 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.1258, allocations: 112.1 kB / 495.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1259, allocations: 23.7 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1259, allocations: 4 kB / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.126, allocations: 330.8 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.1261, allocations: 27.92 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.1261, allocations: 33.7 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1262, allocations: 57.7 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1262, allocations: 0 / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1264, allocations: 109.4 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1264, allocations: 8 kB / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.1265, allocations: 0 / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1265, allocations: 0 / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.1266, allocations: 12 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1266, allocations: 4 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1266, allocations: 7.922 kB / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1266, allocations: 4.375 kB / 496 MB, free: 5.48 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.0001099/0.1268, allocations: 149.4 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1268, allocations: 11.81 kB / 496.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1268, allocations: 25.39 kB / 496.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1268, allocations: 4 kB / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1268, allocations: 4 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1269, allocations: 7.875 kB / 496.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.1273, allocations: 399.3 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1273, allocations: 0 / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1273, allocations: 16.02 kB / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1273, allocations: 0 / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1273, allocations: 3.938 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1274, allocations: 4 kB / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1274, allocations: 192 / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1276, allocations: 208.4 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1276, allocations: 100.8 kB / 496.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1277, allocations: 11.94 kB / 496.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.1277, allocations: 0 / 496.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1278, allocations: 7.984 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1278, allocations: 4 kB / 496.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1279, allocations: 203 kB / 497.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 497.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.1282, allocations: 27.98 kB / 497.1 MB, free: 4.211 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.0008905/0.1291, allocations: 462.1 kB / 497.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1293, allocations: 59.89 kB / 497.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1293, allocations: 0 / 497.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.1294, allocations: 28.06 kB / 497.7 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1297, allocations: 35.72 kB / 497.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1302, allocations: 328.6 kB / 498 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1305, allocations: 0.716 MB / 498.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1306, allocations: 15.44 kB / 498.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1306, allocations: 0 / 498.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003504/0.1341, allocations: 2.023 MB / 0.489 GB, free: 0.5469 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches