Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 186.4 kB / 13.19 MB, free: 2.121 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.326/1.326, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007852/0.0007853, allocations: 86.61 kB / 267 MB, free: 9.27 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.3689/0.3689, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.291e-05, allocations: 8 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 58.84 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4581, allocations: 87.62 MB / 0.5584 GB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4585, allocations: 72.53 kB / 0.5585 GB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.4733, allocations: 5.372 MB / 0.5637 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4734, allocations: 0.5469 kB / 0.5637 GB, free: 11.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4734, allocations: 3.984 kB / 0.5637 GB, free: 11.97 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.0005412/0.474, allocations: 399.9 kB / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.474, allocations: 8.031 kB / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.4741, allocations: 11.34 kB / 0.5641 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.4744, allocations: 215.6 kB / 0.5643 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4745, allocations: 4 kB / 0.5643 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4745, allocations: 0 / 0.5643 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4747, allocations: 53.67 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4747, allocations: 0 / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4747, allocations: 9.375 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4747, allocations: 0 / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.4748, allocations: 27.92 kB / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.4752, allocations: 288.9 kB / 0.5647 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.4754, allocations: 54.69 kB / 0.5647 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.4754, allocations: 28.92 kB / 0.5648 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4755, allocations: 0 / 0.5648 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.4756, allocations: 67.39 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4756, allocations: 3.938 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004969/0.4761, allocations: 165.1 kB / 0.565 GB, free: 10.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4762, allocations: 51.41 kB / 0.565 GB, free: 10.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4764, allocations: 173.3 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4764, allocations: 25.7 kB / 0.5652 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.4765, allocations: 104.1 kB / 0.5653 GB, free: 10.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.4765, allocations: 19.72 kB / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4766, allocations: 0 / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4767, allocations: 326.8 kB / 0.5656 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.4768, allocations: 16 kB / 0.5657 GB, free: 9.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.4768, allocations: 39.3 kB / 0.5657 GB, free: 9.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.4769, allocations: 20 kB / 0.5657 GB, free: 9.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4769, allocations: 4 kB / 0.5657 GB, free: 9.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001533/0.477, allocations: 106.3 kB / 0.5658 GB, free: 9.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4771, allocations: 4 kB / 0.5658 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4771, allocations: 4 kB / 0.5658 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4771, allocations: 0 / 0.5658 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.4772, allocations: 19.92 kB / 0.5659 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4772, allocations: 3.953 kB / 0.5659 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.4773, allocations: 8 kB / 0.5659 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4773, allocations: 4 kB / 0.5659 GB, free: 9.551 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 () * 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 8.456e-05/0.4774, allocations: 115.3 kB / 0.566 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4774, allocations: 9.969 kB / 0.566 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.4776, allocations: 122.3 kB / 0.5661 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4777, allocations: 0 / 0.5661 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4777, allocations: 0 / 0.5661 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4777, allocations: 3.953 kB / 0.5661 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.4781, allocations: 411.2 kB / 0.5665 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4782, allocations: 0 / 0.5665 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.4782, allocations: 11.98 kB / 0.5665 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4782, allocations: 4 kB / 0.5665 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4782, allocations: 4 kB / 0.5665 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4783, allocations: 3.953 kB / 0.5665 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4783, allocations: 4 kB / 0.5665 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.4785, allocations: 214.2 kB / 0.5667 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.4786, allocations: 97.09 kB / 0.5668 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4786, allocations: 11.83 kB / 0.5668 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.4787, allocations: 8.188 kB / 0.5668 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.4787, allocations: 11.92 kB / 0.5669 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4788, allocations: 8 kB / 0.5669 GB, free: 8.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4789, allocations: 140.1 kB / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4789, allocations: 0 / 0.567 GB, free: 8.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.4792, allocations: 28 kB / 0.567 GB, free: 8.262 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) * 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.00106/0.4802, allocations: 417.1 kB / 0.5674 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.4804, allocations: 59.92 kB / 0.5675 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4804, allocations: 4.062 kB / 0.5675 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.4805, allocations: 31.94 kB / 0.5675 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4808, allocations: 19.98 kB / 0.5675 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.4812, allocations: 176.6 kB / 0.5677 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4815, allocations: 0.7043 MB / 0.5684 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.4816, allocations: 20.92 kB / 0.5684 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.4816, allocations: 19.42 kB / 0.5684 GB, free: 6.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4816, allocations: 0 / 0.5684 GB, free: 6.84 MB / 394.7 MB Notification: Performance of Templates: time 0.004671/0.4863, allocations: 1.68 MB / 0.5701 GB, free: 5.168 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches