Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.857/1.857, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007611/0.0007612, allocations: 90.3 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.3354/0.3354, allocations: 43.56 MB / 362.7 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 16 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002291/0.1189, allocations: 1.398 MB / 491.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1204, allocations: 0.7422 MB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1205, allocations: 7.938 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1208, allocations: 35.89 kB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.121, allocations: 39.84 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1213, allocations: 75.84 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1215, allocations: 79.7 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1216, allocations: 24.19 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.1217, allocations: 35.8 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1218, allocations: 27.86 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1218, allocations: 0 / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.122, allocations: 39.97 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.122, allocations: 15.92 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1221, allocations: 45.58 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1224, allocations: 80.09 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1224, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1224, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1224, allocations: 0 / 492.9 MB, free: 8.559 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.0005716/0.123, allocations: 406.8 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.123, allocations: 16.02 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1231, allocations: 7.906 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1233, allocations: 206.8 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1233, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1233, allocations: 4 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1235, allocations: 57.61 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1235, allocations: 3.938 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1235, allocations: 4 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1235, allocations: 3.953 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.1236, allocations: 19.98 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.124, allocations: 277 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1241, allocations: 58.62 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1242, allocations: 24.84 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1242, allocations: 0 / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.1244, allocations: 79.23 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1244, allocations: 0 / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.1249, allocations: 169.3 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.125, allocations: 59.41 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1251, allocations: 186.1 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1252, allocations: 29.7 kB / 494.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.1252, allocations: 100.1 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1253, allocations: 23.66 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1253, allocations: 4 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1254, allocations: 318.8 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.1254, allocations: 27.92 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.1255, allocations: 41.64 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.1256, allocations: 20 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1256, allocations: 0 / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.1258, allocations: 109.5 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1258, allocations: 10.28 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1258, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1258, allocations: 4 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.1259, allocations: 12 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1259, allocations: 0 / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.126, allocations: 12.02 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.126, allocations: 0 / 495.1 MB, free: 6.082 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 9.122e-05/0.1261, allocations: 125.8 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.1261, allocations: 11.86 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.1261, allocations: 16.7 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1262, allocations: 0 / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1262, allocations: 4 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1262, allocations: 3.984 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1266, allocations: 399.1 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1266, allocations: 0 / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.1267, allocations: 15.92 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1267, allocations: 0 / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1267, allocations: 4 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1267, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1267, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1269, allocations: 204.3 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.127, allocations: 96.86 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.127, allocations: 4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1271, allocations: 4 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1271, allocations: 7.984 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1271, allocations: 4 kB / 496 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1272, allocations: 148 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1272, allocations: 4 kB / 496.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.1275, allocations: 23.98 kB / 496.2 MB, free: 4.926 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.0008753/0.1284, allocations: 470.3 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1285, allocations: 59.91 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1285, allocations: 0 / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.1286, allocations: 31.98 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1289, allocations: 27.97 kB / 496.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.1293, allocations: 260.2 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1296, allocations: 0.7081 MB / 497.7 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1296, allocations: 19.42 kB / 497.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1296, allocations: 0 / 497.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Templates: time 0.003275/0.1329, allocations: 1.875 MB / 499.6 MB, free: 1.477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches