Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 93.36 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3781/0.3781, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.513e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.564, allocations: 87.95 MB / 0.5518 GB, free: 11.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5643, allocations: 67.97 kB / 0.5519 GB, free: 11.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5827, allocations: 4.191 MB / 0.556 GB, free: 7.109 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5828, allocations: 0 / 0.556 GB, free: 7.109 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.5828, allocations: 4.547 kB / 0.556 GB, free: 7.105 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007361/0.5836, allocations: 467.9 kB / 0.5564 GB, free: 6.598 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5836, allocations: 12.03 kB / 0.5564 GB, free: 6.586 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.5837, allocations: 7.906 kB / 0.5564 GB, free: 6.578 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5841, allocations: 230.7 kB / 0.5566 GB, free: 6.312 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.5842, allocations: 7.984 kB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.5842, allocations: 4 kB / 0.5567 GB, free: 6.301 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/0.5844, allocations: 32 kB / 0.5567 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.5846, allocations: 88.23 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5846, allocations: 4 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5847, allocations: 0 / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5847, allocations: 4 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.5855, allocations: 0.4975 MB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.5858, allocations: 66.69 kB / 0.5573 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.5859, allocations: 32.8 kB / 0.5574 GB, free: 5.508 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.5859, allocations: 4 kB / 0.5574 GB, free: 5.504 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.5862, allocations: 83.31 kB / 0.5574 GB, free: 5.41 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.5862, allocations: 0 / 0.5574 GB, free: 5.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003359/0.5865, allocations: 105.4 kB / 0.5575 GB, free: 5.301 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5866, allocations: 55.39 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.5868, allocations: 162.6 kB / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5869, allocations: 25.7 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.587, allocations: 174.5 kB / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.587, allocations: 31.55 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5871, allocations: 0 / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5872, allocations: 318.8 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.5873, allocations: 27.92 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.5874, allocations: 52.3 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.5875, allocations: 27.92 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5875, allocations: 4 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002646/0.5878, allocations: 109.5 kB / 0.5585 GB, free: 4.266 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5878, allocations: 4 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5879, allocations: 4 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5879, allocations: 0 / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5881, allocations: 23.98 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5881, allocations: 3.953 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.5882, allocations: 20.05 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5883, allocations: 4.188 kB / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001041/0.5884, allocations: 116 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.5884, allocations: 15.75 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.5887, allocations: 111.4 kB / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5887, allocations: 4 kB / 0.5588 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5888, allocations: 0 / 0.5588 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.5888, allocations: 3.953 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.589, allocations: 186.3 kB / 0.559 GB, free: 3.734 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.589, allocations: 11.98 kB / 0.559 GB, free: 3.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.5892, allocations: 11.98 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5892, allocations: 4 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5892, allocations: 0 / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5892, allocations: 0 / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5892, allocations: 0 / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.5896, allocations: 172.7 kB / 0.5592 GB, free: 3.52 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.5897, allocations: 96.95 kB / 0.5592 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.5898, allocations: 4.062 kB / 0.5592 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5899, allocations: 7.984 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.59, allocations: 7.984 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.59, allocations: 4 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.5902, allocations: 136.1 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5902, allocations: 0 / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.5906, allocations: 32 kB / 0.5594 GB, free: 3.219 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001039/0.5916, allocations: 351.3 kB / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5919, allocations: 67.92 kB / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5919, allocations: 0 / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.592, allocations: 31.94 kB / 0.5599 GB, free: 2.816 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.5924, allocations: 40.22 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.593, allocations: 208.9 kB / 0.5601 GB, free: 2.535 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.5934, allocations: 0.7162 MB / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.201e-05/0.5935, allocations: 23.8 kB / 0.5608 GB, free: 1.77 MB / 395.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5935, allocations: 0 / 0.5608 GB, free: 1.77 MB / 395.1 MB Notification: Performance of Templates: time 0.006077/0.5996, allocations: 2.156 MB / 0.5629 GB, free: 15.61 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches