Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008495/0.0008496, allocations: 179.8 kB / 18.09 MB, free: 3.746 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.192/1.192, allocations: 223.3 MB / 242.1 MB, free: 11.6 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.0007635/0.0007635, allocations: 97.83 kB / 293.3 MB, free: 10.75 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.2747/0.2747, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 15.98 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 61.88 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09992/0.3656, allocations: 88.57 MB / 0.5972 GB, free: 6.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3659, allocations: 83.94 kB / 0.5973 GB, free: 6.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.377, allocations: 4.736 MB / 0.6019 GB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.377, allocations: 0 / 0.6019 GB, free: 1.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.377, allocations: 3.938 kB / 0.6019 GB, free: 1.684 MB / 410.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.0004273/0.3775, allocations: 434.8 kB / 0.6023 GB, free: 1.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3775, allocations: 12.03 kB / 0.6024 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3776, allocations: 12.75 kB / 0.6024 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3778, allocations: 201.5 kB / 0.6026 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3778, allocations: 8.375 kB / 0.6026 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3778, allocations: 4.375 kB / 0.6026 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.378, allocations: 62.23 kB / 0.6026 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.378, allocations: 8.172 kB / 0.6026 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.378, allocations: 11.81 kB / 0.6026 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.378, allocations: 0 / 0.6026 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3782, allocations: 47.97 kB / 0.6027 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3785, allocations: 312.7 kB / 0.603 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3788, allocations: 66.58 kB / 0.6031 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.3789, allocations: 28.97 kB / 0.6031 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3789, allocations: 0 / 0.6031 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3789, allocations: 30.56 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3789, allocations: 0 / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001333/0.3803, allocations: 470.5 kB / 0.6036 GB, free: 15.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3803, allocations: 59.34 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3805, allocations: 215.2 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3805, allocations: 25.7 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3806, allocations: 108.1 kB / 0.6039 GB, free: 15.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.3806, allocations: 39.45 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.3807, allocations: 0 / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3808, allocations: 326.8 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3809, allocations: 47.97 kB / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.381, allocations: 51.97 kB / 0.6044 GB, free: 14.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3813, allocations: 116.7 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3813, allocations: 0 / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002958/0.3816, allocations: 161.5 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3816, allocations: 4 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3816, allocations: 12 kB / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3816, allocations: 0 / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3817, allocations: 27.98 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3817, allocations: 4 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.3818, allocations: 15.92 kB / 0.6047 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3818, allocations: 4 kB / 0.6047 GB, free: 14.59 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 (11): * Single equations (assignments): 11 * 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.0001052/0.3819, allocations: 130.4 kB / 0.6048 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.382, allocations: 7.906 kB / 0.6049 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.3823, allocations: 195.2 kB / 0.605 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3824, allocations: 0 / 0.605 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3824, allocations: 0 / 0.605 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3824, allocations: 7.938 kB / 0.605 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.383, allocations: 0.4999 MB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.383, allocations: 4 kB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.3831, allocations: 31.92 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3831, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3831, allocations: 4 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3831, allocations: 4 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3831, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3835, allocations: 273 kB / 0.6058 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3836, allocations: 100.9 kB / 0.6059 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3836, allocations: 0 / 0.6059 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3837, allocations: 19.98 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3837, allocations: 7.984 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3837, allocations: 7.984 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3839, allocations: 160.9 kB / 0.6061 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3839, allocations: 0 / 0.6061 GB, free: 13.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.3841, allocations: 35.94 kB / 0.6062 GB, free: 13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000939/0.3851, allocations: 467 kB / 0.6066 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.3854, allocations: 127.9 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3854, allocations: 0 / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3855, allocations: 63.91 kB / 0.6068 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3858, allocations: 23.92 kB / 0.6068 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.3863, allocations: 319.6 kB / 0.6071 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3866, allocations: 0.7238 MB / 0.6078 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.3867, allocations: 12.55 kB / 0.6078 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3867, allocations: 15.44 kB / 0.6078 GB, free: 11.39 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3867, allocations: 0 / 0.6078 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003545/0.3903, allocations: 1.555 MB / 0.6094 GB, free: 9.848 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches