Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, 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.924/1.924, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009227/0.0009225, allocations: 90.3 kB / 270.9 MB, free: 8.363 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.3471/0.3471, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003815, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002292/0.1219, allocations: 1.398 MB / 491.6 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1233, allocations: 0.7383 MB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.1234, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1237, allocations: 35.83 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.124, allocations: 43.84 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1243, allocations: 75.83 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1245, allocations: 79.77 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.1246, allocations: 12.22 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1247, allocations: 43.77 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.1248, allocations: 27.86 kB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1248, allocations: 0 / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.125, allocations: 39.92 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.125, allocations: 23.91 kB / 492.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.1251, allocations: 37.64 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1253, allocations: 80.11 kB / 492.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1253, allocations: 8 kB / 492.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1253, allocations: 0 / 492.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1253, allocations: 0 / 492.9 MB, free: 8.316 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.0005835/0.1259, allocations: 398.8 kB / 493.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1259, allocations: 12.02 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.126, allocations: 11.91 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1262, allocations: 206.8 kB / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1263, allocations: 0 / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1263, allocations: 4 kB / 493.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1265, allocations: 57.67 kB / 493.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1265, allocations: 3.938 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1265, allocations: 3.984 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1265, allocations: 3.953 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.1266, allocations: 23.94 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.127, allocations: 280.9 kB / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1272, allocations: 54.69 kB / 493.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.1273, allocations: 20.84 kB / 493.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1273, allocations: 4 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.1275, allocations: 75.19 kB / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1275, allocations: 0 / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.1281, allocations: 181.3 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1281, allocations: 51.41 kB / 494.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1283, allocations: 186.1 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1283, allocations: 29.7 kB / 494.5 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1284, allocations: 96.14 kB / 494.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1284, allocations: 27.64 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.1285, allocations: 0 / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1286, allocations: 326.8 kB / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1287, allocations: 23.92 kB / 494.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.1287, allocations: 33.72 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.631e-05/0.1288, allocations: 32.05 kB / 495 MB, free: 5.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.1288, allocations: 0 / 495 MB, free: 5.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002344/0.129, allocations: 97.48 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1291, allocations: 4 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1291, allocations: 4 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1291, allocations: 4.031 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.1292, allocations: 19.92 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1292, allocations: 0 / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.1293, allocations: 8 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1293, allocations: 4 kB / 495.1 MB, free: 5.848 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.0001102/0.1294, allocations: 121.8 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1294, allocations: 15.84 kB / 495.3 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.1295, allocations: 20.7 kB / 495.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1295, allocations: 0 / 495.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1295, allocations: 4 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1295, allocations: 0 / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.13, allocations: 399.1 kB / 495.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.13, allocations: 4 kB / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1301, allocations: 8 kB / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1301, allocations: 0 / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1301, allocations: 0 / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1301, allocations: 3.984 kB / 495.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1301, allocations: 8.031 kB / 495.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1303, allocations: 204.2 kB / 495.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1304, allocations: 92.88 kB / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1304, allocations: 4 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1305, allocations: 3.984 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1306, allocations: 4 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1306, allocations: 8 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1307, allocations: 148 kB / 496.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1307, allocations: 0 / 496.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.131, allocations: 24 kB / 496.2 MB, free: 4.695 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.0009349/0.1319, allocations: 480.5 kB / 496.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1321, allocations: 55.98 kB / 496.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1321, allocations: 0 / 496.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.1322, allocations: 32.06 kB / 496.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1325, allocations: 23.98 kB / 496.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.1331, allocations: 268.2 kB / 497 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1334, allocations: 0.7043 MB / 497.7 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1334, allocations: 19.44 kB / 497.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1334, allocations: 0 / 497.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of Templates: time 0.003718/0.1371, allocations: 1.875 MB / 499.6 MB, free: 1.242 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches