Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 177.4 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 91.2 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3223/0.3223, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003309, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3369, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4627, allocations: 89.07 MB / 0.5965 GB, free: 6.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.463, allocations: 75.94 kB / 0.5966 GB, free: 6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.4803, allocations: 8.469 MB / 0.6049 GB, free: 13.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4804, allocations: 0 / 0.6049 GB, free: 13.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.4804, allocations: 4 kB / 0.6049 GB, free: 13.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006863/0.4811, allocations: 0.6375 MB / 0.6055 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4811, allocations: 12.5 kB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4812, allocations: 43.44 kB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.4818, allocations: 335.2 kB / 0.6059 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4818, allocations: 7.938 kB / 0.6059 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4818, allocations: 7.938 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.482, allocations: 57.67 kB / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.482, allocations: 0 / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.482, allocations: 8 kB / 0.606 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.482, allocations: 0 / 0.606 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4822, allocations: 35.97 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.4828, allocations: 468.5 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.483, allocations: 50.55 kB / 0.6065 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.483, allocations: 4.094 kB / 0.6065 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.483, allocations: 34.5 kB / 0.6065 GB, free: 11.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.483, allocations: 0 / 0.6065 GB, free: 11.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009159/0.4839, allocations: 349.1 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.484, allocations: 63.39 kB / 0.6069 GB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4851, allocations: 0.7863 MB / 0.6077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4851, allocations: 25.7 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4853, allocations: 228 kB / 0.6079 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.4853, allocations: 23.64 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4853, allocations: 4 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4855, allocations: 358.8 kB / 0.6083 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.4856, allocations: 39.97 kB / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.4857, allocations: 31.97 kB / 0.6084 GB, free: 9.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.4857, allocations: 39.98 kB / 0.6084 GB, free: 9.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4858, allocations: 0 / 0.6084 GB, free: 9.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002579/0.486, allocations: 157 kB / 0.6086 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.486, allocations: 9.859 kB / 0.6086 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4861, allocations: 0 / 0.6086 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4861, allocations: 4 kB / 0.6086 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4862, allocations: 19.95 kB / 0.6086 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4862, allocations: 3.984 kB / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.4863, allocations: 4 kB / 0.6086 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.4863, allocations: 11.94 kB / 0.6086 GB, free: 9.48 MB / 426.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 (8): * Single equations (assignments): 8 * 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.0001772/0.4865, allocations: 213.8 kB / 0.6088 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.4865, allocations: 43.44 kB / 0.6089 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.4869, allocations: 185.4 kB / 0.609 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4869, allocations: 0 / 0.609 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4869, allocations: 3.953 kB / 0.609 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4869, allocations: 3.938 kB / 0.609 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.4879, allocations: 0.6595 MB / 0.6097 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4879, allocations: 0 / 0.6097 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.4879, allocations: 19.98 kB / 0.6097 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.488, allocations: 3.953 kB / 0.6097 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.488, allocations: 0 / 0.6097 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.488, allocations: 4 kB / 0.6097 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.488, allocations: 0 / 0.6097 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.4883, allocations: 277.5 kB / 0.61 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.4885, allocations: 164.6 kB / 0.6101 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.4886, allocations: 0 / 0.6101 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.4887, allocations: 16 kB / 0.6101 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4887, allocations: 3.984 kB / 0.6101 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4887, allocations: 4 kB / 0.6102 GB, free: 7.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006438/0.4894, allocations: 0.6394 MB / 0.6108 GB, free: 7.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4894, allocations: 0 / 0.6108 GB, free: 7.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.4897, allocations: 71.92 kB / 0.6108 GB, free: 7.066 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009363/0.4906, allocations: 470.7 kB / 0.6113 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4909, allocations: 79.94 kB / 0.6114 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4909, allocations: 4 kB / 0.6114 GB, free: 6.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.491, allocations: 43.92 kB / 0.6114 GB, free: 6.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4912, allocations: 26.23 kB / 0.6114 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4924, allocations: 0.9517 MB / 0.6124 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4929, allocations: 0.8418 MB / 0.6132 GB, free: 4.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.493, allocations: 56.95 kB / 0.6132 GB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.493, allocations: 19.44 kB / 0.6133 GB, free: 4.707 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4931, allocations: 3.938 kB / 0.6133 GB, free: 4.703 MB / 426.7 MB Notification: Performance of Templates: time 0.005921/0.499, allocations: 2.7 MB / 0.6159 GB, free: 2.004 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches