Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002191/0.002191, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 88.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2896/0.2896, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.305e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.401, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5632, allocations: 86.47 MB / 0.5503 GB, free: 12.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5635, allocations: 71.95 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02339/0.5869, allocations: 4.42 MB / 0.5547 GB, free: 8.344 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.587, allocations: 0 / 0.5547 GB, free: 8.344 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.5871, allocations: 0 / 0.5547 GB, free: 8.344 MB / 395.1 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.0007209/0.5878, allocations: 386.7 kB / 0.5551 GB, free: 7.922 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.5879, allocations: 12.03 kB / 0.5551 GB, free: 7.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.588, allocations: 19.75 kB / 0.5551 GB, free: 7.891 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.5884, allocations: 203.5 kB / 0.5553 GB, free: 7.648 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5885, allocations: 4 kB / 0.5553 GB, free: 7.645 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.5885, allocations: 4 kB / 0.5553 GB, free: 7.641 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001571/0.5887, allocations: 20.55 kB / 0.5554 GB, free: 7.621 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5889, allocations: 49.67 kB / 0.5554 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5889, allocations: 3.938 kB / 0.5554 GB, free: 7.562 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.589, allocations: 0 / 0.5554 GB, free: 7.562 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.589, allocations: 0 / 0.5554 GB, free: 7.562 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.5899, allocations: 313.2 kB / 0.5557 GB, free: 7.219 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.59, allocations: 30.58 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.5901, allocations: 20.94 kB / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.5902, allocations: 0 / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5902, allocations: 30.56 kB / 0.5558 GB, free: 7.117 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.5903, allocations: 0 / 0.5558 GB, free: 7.117 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.001006/0.5913, allocations: 165.1 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5914, allocations: 51.41 kB / 0.556 GB, free: 6.887 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.5918, allocations: 185.5 kB / 0.5562 GB, free: 6.695 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5918, allocations: 25.7 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.592, allocations: 166.6 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.5921, allocations: 23.64 kB / 0.5564 GB, free: 6.477 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.5921, allocations: 8 kB / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5923, allocations: 314.8 kB / 0.5567 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.5924, allocations: 19.98 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.5925, allocations: 20 kB / 0.5567 GB, free: 6.113 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.5926, allocations: 28.05 kB / 0.5567 GB, free: 6.086 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5927, allocations: 0 / 0.5567 GB, free: 6.086 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003031/0.593, allocations: 77.53 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.593, allocations: 11.98 kB / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5931, allocations: 0 / 0.5568 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.5931, allocations: 4 kB / 0.5568 GB, free: 5.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.5934, allocations: 19.98 kB / 0.5569 GB, free: 5.969 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5935, allocations: 7.953 kB / 0.5569 GB, free: 5.961 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5937, allocations: 11.98 kB / 0.5569 GB, free: 5.949 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.5937, allocations: 4 kB / 0.5569 GB, free: 5.945 MB / 395.1 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 0.0001299/0.5939, allocations: 105 kB / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.594, allocations: 7.906 kB / 0.557 GB, free: 5.828 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.5945, allocations: 107.9 kB / 0.5571 GB, free: 5.719 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5945, allocations: 3.984 kB / 0.5571 GB, free: 5.715 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5945, allocations: 0 / 0.5571 GB, free: 5.715 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5946, allocations: 7.953 kB / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.5955, allocations: 363 kB / 0.5574 GB, free: 5.309 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5955, allocations: 0 / 0.5574 GB, free: 5.309 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.5958, allocations: 31.92 kB / 0.5575 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.5959, allocations: 3.938 kB / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.5959, allocations: 3.984 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.5959, allocations: 8 kB / 0.5575 GB, free: 5.262 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.579e-06/0.5959, allocations: 3.953 kB / 0.5575 GB, free: 5.258 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5963, allocations: 179.4 kB / 0.5577 GB, free: 5.066 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5965, allocations: 97 kB / 0.5578 GB, free: 4.953 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.5966, allocations: 4 kB / 0.5578 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.5968, allocations: 15.98 kB / 0.5578 GB, free: 4.934 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.5969, allocations: 11.94 kB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.597, allocations: 0 / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.5973, allocations: 151.2 kB / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5973, allocations: 0 / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.5979, allocations: 23.94 kB / 0.558 GB, free: 4.75 MB / 395.1 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.001517/0.5994, allocations: 334.4 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.5998, allocations: 47.98 kB / 0.5583 GB, free: 4.414 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5998, allocations: 0 / 0.5583 GB, free: 4.414 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.5999, allocations: 39.86 kB / 0.5584 GB, free: 4.375 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.6004, allocations: 23.05 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.6013, allocations: 222.2 kB / 0.5586 GB, free: 4.109 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.6018, allocations: 0.7197 MB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.6019, allocations: 15.42 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/0.602, allocations: 0 / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of Templates: time 0.007972/0.6099, allocations: 1.825 MB / 0.5611 GB, free: 1.527 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches