Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 181.1 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008735/0.0008738, allocations: 86.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.423/0.423, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 19.94 kB / 432.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 58.84 MB / 491.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5676, allocations: 87.76 MB / 0.5656 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5679, allocations: 81.02 kB / 0.5657 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.5832, allocations: 5.392 MB / 0.571 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5833, allocations: 0 / 0.571 GB, free: 9.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5833, allocations: 0 / 0.571 GB, free: 9.207 MB / 394.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.0005708/0.5839, allocations: 426.6 kB / 0.5714 GB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.584, allocations: 8.031 kB / 0.5714 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.584, allocations: 14.72 kB / 0.5714 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.5843, allocations: 215.1 kB / 0.5716 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5843, allocations: 4.375 kB / 0.5716 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.5844, allocations: 384 / 0.5716 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.5845, allocations: 58.23 kB / 0.5717 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5845, allocations: 192 / 0.5717 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5846, allocations: 7.922 kB / 0.5717 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5846, allocations: 4 kB / 0.5717 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.5847, allocations: 23.92 kB / 0.5717 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.5851, allocations: 296.8 kB / 0.572 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.5853, allocations: 61.23 kB / 0.572 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.5854, allocations: 32.84 kB / 0.5721 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.5854, allocations: 0 / 0.5721 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.5855, allocations: 63.39 kB / 0.5721 GB, free: 7.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.5856, allocations: 0 / 0.5721 GB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005572/0.5861, allocations: 173.2 kB / 0.5723 GB, free: 7.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.5862, allocations: 51.41 kB / 0.5724 GB, free: 7.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5864, allocations: 190.2 kB / 0.5725 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.5864, allocations: 29.64 kB / 0.5726 GB, free: 7.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.5865, allocations: 100.1 kB / 0.5727 GB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5865, allocations: 25.91 kB / 0.5727 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.5865, allocations: 4 kB / 0.5727 GB, free: 7.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5866, allocations: 326.8 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.5867, allocations: 19.98 kB / 0.573 GB, free: 6.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.5868, allocations: 37.7 kB / 0.5731 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5869, allocations: 61.7 kB / 0.5731 GB, free: 6.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5869, allocations: 0 / 0.5731 GB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.5871, allocations: 113.4 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5871, allocations: 4 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5871, allocations: 0 / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5872, allocations: 4 kB / 0.5732 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.5873, allocations: 19.92 kB / 0.5732 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5873, allocations: 0 / 0.5732 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.5873, allocations: 8.031 kB / 0.5733 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.5873, allocations: 0 / 0.5733 GB, free: 6.652 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001013/0.5874, allocations: 133.8 kB / 0.5734 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.5875, allocations: 11.89 kB / 0.5734 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.5877, allocations: 122.4 kB / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5878, allocations: 0 / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5878, allocations: 0.625 kB / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5878, allocations: 0 / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.5883, allocations: 415.2 kB / 0.5739 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5883, allocations: 4 kB / 0.5739 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.5884, allocations: 12.36 kB / 0.5739 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5884, allocations: 3.938 kB / 0.5739 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5884, allocations: 4 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5884, allocations: 4 kB / 0.5739 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5884, allocations: 4.172 kB / 0.5739 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.5887, allocations: 212.2 kB / 0.5741 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.5887, allocations: 96.98 kB / 0.5742 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.5888, allocations: 4 kB / 0.5742 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.5889, allocations: 4 kB / 0.5742 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.5889, allocations: 11.92 kB / 0.5742 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5889, allocations: 7.938 kB / 0.5743 GB, free: 5.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.5891, allocations: 148.8 kB / 0.5744 GB, free: 5.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5891, allocations: 0 / 0.5744 GB, free: 5.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.5893, allocations: 35.94 kB / 0.5744 GB, free: 5.328 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001041/0.5904, allocations: 477.1 kB / 0.5749 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.5906, allocations: 59.92 kB / 0.5749 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5906, allocations: 0 / 0.5749 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.5907, allocations: 31.98 kB / 0.575 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.591, allocations: 25 kB / 0.575 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.5915, allocations: 282.6 kB / 0.5753 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5919, allocations: 0.7043 MB / 0.576 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5919, allocations: 19.44 kB / 0.576 GB, free: 3.785 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5919, allocations: 4 kB / 0.576 GB, free: 3.781 MB / 394.7 MB Notification: Performance of Templates: time 0.003861/0.5958, allocations: 1.916 MB / 0.5779 GB, free: 1.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches