Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 176.5 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.243/1.243, 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.0009935/0.0009935, allocations: 91.77 kB / 292.1 MB, free: 10.95 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.2991/0.2991, allocations: 44.22 MB / 387.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 459.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3424, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.4583, allocations: 88.02 MB / 0.5955 GB, free: 7.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.4585, allocations: 87.89 kB / 0.5956 GB, free: 7.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009572/0.4681, allocations: 3.886 MB / 0.5994 GB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4682, allocations: 3.938 kB / 0.5994 GB, free: 3.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4682, allocations: 0 / 0.5994 GB, free: 3.211 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003239/0.4685, allocations: 379.1 kB / 0.5998 GB, free: 2.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.4685, allocations: 8.562 kB / 0.5998 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.4686, allocations: 15.84 kB / 0.5998 GB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4687, allocations: 194.9 kB / 0.6 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.4687, allocations: 4 kB / 0.6 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4688, allocations: 4 kB / 0.6 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4689, allocations: 75.28 kB / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.4689, allocations: 0 / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.4689, allocations: 0 / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-06/0.4689, allocations: 0 / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.469, allocations: 35.97 kB / 0.6001 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.4694, allocations: 292.8 kB / 0.6004 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4695, allocations: 66.48 kB / 0.6004 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4695, allocations: 0 / 0.6004 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4695, allocations: 34.69 kB / 0.6005 GB, free: 1.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.4695, allocations: 0 / 0.6005 GB, free: 1.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.47, allocations: 201.6 kB / 0.6006 GB, free: 1.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.4701, allocations: 77.11 kB / 0.6007 GB, free: 1.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4702, allocations: 129.2 kB / 0.6008 GB, free: 1.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4702, allocations: 33.64 kB / 0.6009 GB, free: 1.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.4703, allocations: 92.05 kB / 0.601 GB, free: 1.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.4703, allocations: 27.64 kB / 0.601 GB, free: 1.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.4703, allocations: 4 kB / 0.601 GB, free: 1.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.4704, allocations: 322.8 kB / 0.6013 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.4705, allocations: 31.98 kB / 0.6013 GB, free: 1.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.4706, allocations: 53.62 kB / 0.6014 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.4707, allocations: 36.02 kB / 0.6014 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4707, allocations: 0 / 0.6014 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002118/0.4709, allocations: 121.5 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.4709, allocations: 5.406 kB / 0.6015 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4709, allocations: 4.062 kB / 0.6015 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.4709, allocations: 8 kB / 0.6016 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.471, allocations: 19.98 kB / 0.6016 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.4711, allocations: 0 / 0.6016 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.4711, allocations: 11.92 kB / 0.6016 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.4711, allocations: 4 kB / 0.6016 GB, free: 0.7344 MB / 410.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 (9): * Single equations (assignments): 9 * 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.255e-05/0.4712, allocations: 117.8 kB / 0.6017 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4712, allocations: 15.89 kB / 0.6017 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.4715, allocations: 130.4 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4715, allocations: 0 / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4715, allocations: 0 / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4715, allocations: 3.984 kB / 0.6018 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.4719, allocations: 406.3 kB / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.472, allocations: 288 / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.472, allocations: 16.05 kB / 0.6022 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4721, allocations: 3.938 kB / 0.6022 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4721, allocations: 11.94 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4721, allocations: 4 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4721, allocations: 0 / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4723, allocations: 207.3 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.4724, allocations: 89.02 kB / 0.6025 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.4724, allocations: 4 kB / 0.6025 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.4725, allocations: 11.98 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.4725, allocations: 3.984 kB / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.4725, allocations: 4 kB / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.4726, allocations: 109.1 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4726, allocations: 0 / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000273/0.4729, allocations: 39.92 kB / 0.6027 GB, free: 15.48 MB / 426.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 () * 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.0008746/0.4738, allocations: 460.8 kB / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.474, allocations: 87.89 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.474, allocations: 0 / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.4741, allocations: 31.98 kB / 0.6033 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4742, allocations: 21.31 kB / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.4746, allocations: 205.3 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.4748, allocations: 0.6965 MB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.4749, allocations: 20.64 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4749, allocations: 15.44 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4749, allocations: 0 / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003182/0.4781, allocations: 1.483 MB / 0.6056 GB, free: 12.59 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches