Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001071, allocations: 177 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.234/1.234, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009211/0.0009213, allocations: 90.11 kB / 292.1 MB, free: 10.92 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.3057/0.3057, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3397, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09938/0.4392, allocations: 88.05 MB / 0.5955 GB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4394, allocations: 79.92 kB / 0.5956 GB, free: 7.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.4496, allocations: 4.265 MB / 0.5998 GB, free: 2.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4496, allocations: 3.938 kB / 0.5998 GB, free: 2.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4496, allocations: 7.938 kB / 0.5998 GB, free: 2.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000391/0.45, allocations: 410.8 kB / 0.6002 GB, free: 2.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.4501, allocations: 8.562 kB / 0.6002 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.4501, allocations: 11.91 kB / 0.6002 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4503, allocations: 204 kB / 0.6004 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.4504, allocations: 3.938 kB / 0.6004 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.4504, allocations: 4 kB / 0.6004 GB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.4505, allocations: 61.56 kB / 0.6005 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4505, allocations: 7.938 kB / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4505, allocations: 0 / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4506, allocations: 4 kB / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.4506, allocations: 27.97 kB / 0.6005 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.451, allocations: 296.8 kB / 0.6008 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4511, allocations: 50.5 kB / 0.6008 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4512, allocations: 0 / 0.6008 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4512, allocations: 34.56 kB / 0.6009 GB, free: 1.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4512, allocations: 0 / 0.6009 GB, free: 1.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000891/0.4521, allocations: 257.2 kB / 0.6011 GB, free: 1.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4521, allocations: 51.41 kB / 0.6012 GB, free: 1.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4523, allocations: 183.1 kB / 0.6013 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4524, allocations: 25.7 kB / 0.6014 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.4524, allocations: 112 kB / 0.6015 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.4525, allocations: 19.64 kB / 0.6015 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.4525, allocations: 8 kB / 0.6015 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4526, allocations: 326.8 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.4527, allocations: 27.98 kB / 0.6018 GB, free: 452 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.4528, allocations: 27.98 kB / 0.6019 GB, free: 424 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.4529, allocations: 31.98 kB / 0.6019 GB, free: 392 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4529, allocations: 4 kB / 0.6019 GB, free: 388 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001926/0.4531, allocations: 113.4 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4531, allocations: 5.406 kB / 0.602 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4531, allocations: 0 / 0.602 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4531, allocations: 4 kB / 0.602 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.4532, allocations: 19.98 kB / 0.602 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4532, allocations: 4 kB / 0.602 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.4533, allocations: 8 kB / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.4533, allocations: 4 kB / 0.602 GB, free: 224 kB / 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 (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 9.93e-05/0.4534, allocations: 129.7 kB / 0.6022 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4534, allocations: 11.84 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4537, allocations: 126.4 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4538, allocations: 4 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4538, allocations: 0 / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4538, allocations: 0 / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.4543, allocations: 431.5 kB / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4543, allocations: 0 / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.4543, allocations: 16 kB / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4544, allocations: 8 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4544, allocations: 3.984 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4544, allocations: 3.938 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4544, allocations: 3.938 kB / 0.6028 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.4546, allocations: 222.1 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4547, allocations: 97 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4547, allocations: 4 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.4548, allocations: 15.98 kB / 0.6031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4548, allocations: 3.953 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.4549, allocations: 4 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.455, allocations: 152 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.455, allocations: 4 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.4552, allocations: 27.98 kB / 0.6033 GB, free: 14.86 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.0009543/0.4562, allocations: 474.6 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.4564, allocations: 67.97 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4564, allocations: 0 / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.4565, allocations: 43.91 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4567, allocations: 19.91 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4572, allocations: 274.4 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4575, allocations: 0.7043 MB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.115e-05/0.4575, allocations: 24.95 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4576, allocations: 11.44 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of SimCode: time 3.237e-06/0.4576, allocations: 0 / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of Templates: time 0.003779/0.4614, allocations: 1.338 MB / 0.6061 GB, free: 12.04 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches