Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.001161, allocations: 183 kB / 13.19 MB, free: 2.129 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.47/1.47, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008177/0.0008178, allocations: 86.61 kB / 267 MB, free: 9.281 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.3249/0.3249, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.009e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4365, allocations: 86.4 MB / 0.5572 GB, free: 17.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.4368, allocations: 77.67 kB / 0.5573 GB, free: 17.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008582/0.4453, allocations: 3.974 MB / 0.5611 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4454, allocations: 0.6562 kB / 0.5611 GB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4454, allocations: 0 / 0.5611 GB, free: 15.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002562/0.4456, allocations: 391 kB / 0.5615 GB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4457, allocations: 12.03 kB / 0.5615 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.4457, allocations: 14.47 kB / 0.5615 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.4459, allocations: 208.3 kB / 0.5617 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.446, allocations: 0 / 0.5617 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.446, allocations: 7.125 kB / 0.5617 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.4461, allocations: 42.06 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4461, allocations: 3.984 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4461, allocations: 3.062 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4461, allocations: 1.375 kB / 0.5618 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.4462, allocations: 12.77 kB / 0.5618 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.4465, allocations: 307 kB / 0.5621 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.4467, allocations: 41.33 kB / 0.5621 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.4467, allocations: 12.42 kB / 0.5622 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.4467, allocations: 0 / 0.5622 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.4467, allocations: 42.56 kB / 0.5622 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4467, allocations: 0 / 0.5622 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.4471, allocations: 115.8 kB / 0.5623 GB, free: 13.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4471, allocations: 59.36 kB / 0.5624 GB, free: 13.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4473, allocations: 205 kB / 0.5626 GB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.4473, allocations: 25.7 kB / 0.5626 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.4474, allocations: 105.8 kB / 0.5627 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.4474, allocations: 25.09 kB / 0.5627 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.4474, allocations: 0 / 0.5627 GB, free: 13.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.4474, allocations: 321.9 kB / 0.563 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.4475, allocations: 16.91 kB / 0.563 GB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.4475, allocations: 16.05 kB / 0.563 GB, free: 13.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.4475, allocations: 15.22 kB / 0.5631 GB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4475, allocations: 0 / 0.5631 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.701e-05/0.4476, allocations: 72.19 kB / 0.5631 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4476, allocations: 4 kB / 0.5631 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4477, allocations: 4 kB / 0.5631 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4477, allocations: 0 / 0.5631 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.4477, allocations: 14.91 kB / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4478, allocations: 0 / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.4478, allocations: 13.55 kB / 0.5632 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4478, allocations: 3.312 kB / 0.5632 GB, free: 13.05 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.603e-05/0.4479, allocations: 104.9 kB / 0.5633 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.4479, allocations: 17.5 kB / 0.5633 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.448, allocations: 89.55 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4481, allocations: 0 / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4481, allocations: 1.688 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4481, allocations: 0 / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.4484, allocations: 363.7 kB / 0.5637 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4484, allocations: 4 kB / 0.5637 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.4484, allocations: 10.91 kB / 0.5637 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4484, allocations: 8 kB / 0.5637 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4484, allocations: 3.438 kB / 0.5637 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4485, allocations: 1.828 kB / 0.5637 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4485, allocations: 3.953 kB / 0.5637 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.573e-05/0.4486, allocations: 162.8 kB / 0.5639 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.4486, allocations: 95.08 kB / 0.564 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.4486, allocations: 5.25 kB / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.4487, allocations: 9.453 kB / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4487, allocations: 14.42 kB / 0.564 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4488, allocations: 3.953 kB / 0.564 GB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.4489, allocations: 163.2 kB / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4489, allocations: 0 / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.4491, allocations: 23.12 kB / 0.5642 GB, free: 12.05 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0006742/0.4498, allocations: 376.1 kB / 0.5646 GB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.4499, allocations: 35.48 kB / 0.5646 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4499, allocations: 0 / 0.5646 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.4499, allocations: 24.19 kB / 0.5646 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4501, allocations: 18.42 kB / 0.5646 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.4504, allocations: 182.4 kB / 0.5648 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4505, allocations: 0.7107 MB / 0.5655 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.4506, allocations: 23.41 kB / 0.5655 GB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.4506, allocations: 11.44 kB / 0.5655 GB, free: 10.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4506, allocations: 0 / 0.5655 GB, free: 10.8 MB / 394.7 MB Notification: Performance of Templates: time 0.002938/0.4536, allocations: 1.187 MB / 0.5667 GB, free: 10.09 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches