Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001028, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2486/0.2486, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.404e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6214, allocations: 86.48 MB / 0.5504 GB, free: 8.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.6217, allocations: 73.91 kB / 0.5504 GB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.6319, allocations: 4.283 MB / 0.5546 GB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6319, allocations: 0 / 0.5546 GB, free: 4.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.632, allocations: 0 / 0.5546 GB, free: 4.879 MB / 362.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.0003993/0.6324, allocations: 388.3 kB / 0.555 GB, free: 4.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6324, allocations: 8.031 kB / 0.555 GB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.6325, allocations: 11.86 kB / 0.555 GB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.6327, allocations: 208.5 kB / 0.5552 GB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.6327, allocations: 4 kB / 0.5552 GB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.6328, allocations: 4 kB / 0.5552 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.6329, allocations: 20.81 kB / 0.5552 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.633, allocations: 44.88 kB / 0.5553 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.633, allocations: 0 / 0.5553 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.633, allocations: 3.984 kB / 0.5553 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.633, allocations: 3.938 kB / 0.5553 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.6334, allocations: 309 kB / 0.5556 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.6335, allocations: 30.2 kB / 0.5556 GB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.6335, allocations: 19.55 kB / 0.5556 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.6336, allocations: 0 / 0.5556 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6336, allocations: 38.64 kB / 0.5557 GB, free: 3.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.6336, allocations: 0 / 0.5557 GB, free: 3.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005118/0.6341, allocations: 153.4 kB / 0.5558 GB, free: 3.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.6342, allocations: 51.41 kB / 0.5559 GB, free: 3.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.6343, allocations: 168.1 kB / 0.556 GB, free: 3.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6344, allocations: 25.7 kB / 0.5561 GB, free: 3.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.6344, allocations: 100.5 kB / 0.5562 GB, free: 3.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.6344, allocations: 23.89 kB / 0.5562 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6344, allocations: 4 kB / 0.5562 GB, free: 3.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.6345, allocations: 326.5 kB / 0.5565 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.6346, allocations: 15 kB / 0.5565 GB, free: 2.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.6346, allocations: 18.88 kB / 0.5565 GB, free: 2.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.6346, allocations: 27.34 kB / 0.5565 GB, free: 2.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6347, allocations: 0 / 0.5565 GB, free: 2.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001151/0.6348, allocations: 93.72 kB / 0.5566 GB, free: 2.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6348, allocations: 7.938 kB / 0.5566 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6348, allocations: 4 kB / 0.5566 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6348, allocations: 0 / 0.5566 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.635, allocations: 23.98 kB / 0.5567 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.635, allocations: 8.016 kB / 0.5567 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.6351, allocations: 19.92 kB / 0.5567 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.6351, allocations: 0 / 0.5567 GB, free: 2.727 MB / 362.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 (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 7.112e-05/0.6352, allocations: 105 kB / 0.5568 GB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.6352, allocations: 11.91 kB / 0.5568 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.6354, allocations: 100.9 kB / 0.5569 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6355, allocations: 0 / 0.5569 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6355, allocations: 0 / 0.5569 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6355, allocations: 3.953 kB / 0.5569 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.6358, allocations: 358.3 kB / 0.5573 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6358, allocations: 0 / 0.5573 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.6359, allocations: 27.92 kB / 0.5573 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6359, allocations: 7.938 kB / 0.5573 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6359, allocations: 0 / 0.5573 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.636, allocations: 0 / 0.5573 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.636, allocations: 3.953 kB / 0.5573 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.6361, allocations: 185 kB / 0.5575 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.6362, allocations: 92.56 kB / 0.5576 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.6362, allocations: 4 kB / 0.5576 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.6363, allocations: 19.98 kB / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6364, allocations: 7.953 kB / 0.5576 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.6364, allocations: 3.984 kB / 0.5576 GB, free: 1.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.6365, allocations: 136 kB / 0.5577 GB, free: 1.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6365, allocations: 4 kB / 0.5577 GB, free: 1.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.6367, allocations: 23.98 kB / 0.5577 GB, free: 1.66 MB / 362.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 (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.0007945/0.6375, allocations: 340.7 kB / 0.5581 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.6377, allocations: 49.61 kB / 0.5581 GB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6377, allocations: 4 kB / 0.5581 GB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.6377, allocations: 30.73 kB / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.638, allocations: 11.92 kB / 0.5582 GB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.6384, allocations: 165.4 kB / 0.5583 GB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.6386, allocations: 0.7156 MB / 0.559 GB, free: 412 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.6387, allocations: 24.94 kB / 0.559 GB, free: 388 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.6387, allocations: 11.44 kB / 0.5591 GB, free: 376 kB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6387, allocations: 8 kB / 0.5591 GB, free: 368 kB / 362.7 MB Notification: Performance of Templates: time 0.003995/0.6427, allocations: 1.215 MB / 0.5602 GB, free: 15.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches