Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 175.9 kB / 16.76 MB, free: 4.934 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.697/1.697, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0009635/0.0009635, allocations: 98.28 kB / 271.3 MB, free: 8.254 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.3762/0.3762, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 58.86 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3054/0.4326, allocations: 87.26 MB / 0.5652 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.4329, allocations: 71.97 kB / 0.5652 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.4435, allocations: 4.364 MB / 0.5695 GB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4435, allocations: 0.5469 kB / 0.5695 GB, free: 10.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4435, allocations: 0 / 0.5695 GB, free: 10.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00042/0.444, allocations: 410.5 kB / 0.5699 GB, free: 9.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.444, allocations: 20.52 kB / 0.5699 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.4441, allocations: 8.844 kB / 0.5699 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4443, allocations: 204.1 kB / 0.5701 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4443, allocations: 8.375 kB / 0.5701 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4443, allocations: 4.375 kB / 0.5701 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4445, allocations: 62.23 kB / 0.5702 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4445, allocations: 3.562 kB / 0.5702 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4445, allocations: 7.922 kB / 0.5702 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.4445, allocations: 0 / 0.5702 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.4447, allocations: 55.95 kB / 0.5703 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.4451, allocations: 320.7 kB / 0.5706 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4453, allocations: 50.55 kB / 0.5706 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.4453, allocations: 28.94 kB / 0.5706 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4454, allocations: 0 / 0.5706 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4454, allocations: 35.19 kB / 0.5707 GB, free: 8.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.414e-06/0.4454, allocations: 8 kB / 0.5707 GB, free: 8.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007476/0.4462, allocations: 269 kB / 0.5709 GB, free: 8.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4462, allocations: 55.34 kB / 0.571 GB, free: 8.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.4464, allocations: 193.3 kB / 0.5712 GB, free: 8.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4464, allocations: 29.7 kB / 0.5712 GB, free: 8.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.4465, allocations: 108 kB / 0.5713 GB, free: 8.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4465, allocations: 23.64 kB / 0.5713 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4465, allocations: 0 / 0.5713 GB, free: 8.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4466, allocations: 326.8 kB / 0.5716 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4468, allocations: 47.97 kB / 0.5717 GB, free: 7.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4469, allocations: 47.97 kB / 0.5717 GB, free: 7.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.4471, allocations: 100.8 kB / 0.5718 GB, free: 7.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4471, allocations: 0 / 0.5718 GB, free: 7.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002984/0.4474, allocations: 146.3 kB / 0.572 GB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4475, allocations: 8 kB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4475, allocations: 3.938 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4475, allocations: 0 / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4476, allocations: 21.36 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.4476, allocations: 8 kB / 0.572 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.4477, allocations: 11.98 kB / 0.572 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.4477, allocations: 4 kB / 0.572 GB, free: 7.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.379e-05/0.4478, allocations: 133.8 kB / 0.5721 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.4479, allocations: 7.906 kB / 0.5722 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.4482, allocations: 162.6 kB / 0.5723 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4482, allocations: 4 kB / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4482, allocations: 0 / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4482, allocations: 0 / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.4488, allocations: 447.1 kB / 0.5727 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4488, allocations: 4 kB / 0.5727 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.4489, allocations: 20.86 kB / 0.5728 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4489, allocations: 0 / 0.5728 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4489, allocations: 7.938 kB / 0.5728 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4489, allocations: 3.984 kB / 0.5728 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4489, allocations: 3.938 kB / 0.5728 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.4493, allocations: 231.4 kB / 0.573 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.4493, allocations: 96.94 kB / 0.5731 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4494, allocations: 11.94 kB / 0.5731 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.4495, allocations: 15.98 kB / 0.5731 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.4495, allocations: 11.92 kB / 0.5731 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.4495, allocations: 4 kB / 0.5731 GB, free: 6.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4496, allocations: 144.8 kB / 0.5733 GB, free: 6.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4496, allocations: 0 / 0.5733 GB, free: 6.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.4499, allocations: 24 kB / 0.5733 GB, free: 6.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0008307/0.4507, allocations: 407.9 kB / 0.5737 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.451, allocations: 103.9 kB / 0.5738 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.451, allocations: 4 kB / 0.5738 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4512, allocations: 55.91 kB / 0.5738 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4515, allocations: 23.86 kB / 0.5739 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.4519, allocations: 267.3 kB / 0.5741 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4522, allocations: 0.7097 MB / 0.5748 GB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.916e-05/0.4523, allocations: 28.95 kB / 0.5748 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.4523, allocations: 15.42 kB / 0.5749 GB, free: 4.586 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4523, allocations: 0 / 0.5749 GB, free: 4.586 MB / 394.7 MB Notification: Performance of Templates: time 0.003569/0.4559, allocations: 1.287 MB / 0.5761 GB, free: 3.305 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches