Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 183.6 kB / 13.19 MB, free: 2.129 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.518/1.518, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009246/0.0009251, allocations: 92.39 kB / 267 MB, free: 9.273 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.3774/0.3774, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.587e-05, allocations: 4 kB / 425.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 58.85 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5669, allocations: 88.6 MB / 0.5593 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5672, allocations: 74.36 kB / 0.5594 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.5782, allocations: 4.253 MB / 0.5636 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5782, allocations: 0 / 0.5636 GB, free: 13.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.5783, allocations: 11.98 kB / 0.5636 GB, free: 13.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004529/0.5787, allocations: 449.7 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5788, allocations: 12.03 kB / 0.564 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.5788, allocations: 19.25 kB / 0.564 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.5792, allocations: 229.8 kB / 0.5643 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5792, allocations: 4 kB / 0.5643 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.5792, allocations: 7.875 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.5794, allocations: 99.67 kB / 0.5644 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5794, allocations: 0 / 0.5644 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5794, allocations: 9.828 kB / 0.5644 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5794, allocations: 4 kB / 0.5644 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.5795, allocations: 37.66 kB / 0.5644 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.5801, allocations: 0.5132 MB / 0.5649 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5803, allocations: 84.19 kB / 0.565 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.5804, allocations: 34.78 kB / 0.565 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.5804, allocations: 0 / 0.565 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.5806, allocations: 83.75 kB / 0.5651 GB, free: 11.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.5806, allocations: 0 / 0.5651 GB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.5808, allocations: 105.4 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.5808, allocations: 55.41 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.581, allocations: 169.8 kB / 0.5654 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.581, allocations: 32.2 kB / 0.5655 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.5811, allocations: 119.5 kB / 0.5656 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.5811, allocations: 34.61 kB / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.5811, allocations: 0 / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.5812, allocations: 329.4 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.5812, allocations: 24.97 kB / 0.5659 GB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.5813, allocations: 58.03 kB / 0.566 GB, free: 10.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.5813, allocations: 27.78 kB / 0.566 GB, free: 10.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5813, allocations: 4 kB / 0.566 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001629/0.5815, allocations: 126.3 kB / 0.5661 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5815, allocations: 11.98 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5815, allocations: 0 / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5816, allocations: 7.953 kB / 0.5662 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.5817, allocations: 23.92 kB / 0.5662 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5817, allocations: 4 kB / 0.5662 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.5818, allocations: 13.62 kB / 0.5662 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5818, allocations: 8.531 kB / 0.5662 GB, free: 10.78 MB / 394.7 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 5.635e-05/0.5818, allocations: 110.8 kB / 0.5663 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.5819, allocations: 15.81 kB / 0.5663 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.5821, allocations: 122.2 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5821, allocations: 3.953 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5821, allocations: 0 / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5821, allocations: 0 / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.5822, allocations: 211.4 kB / 0.5667 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5822, allocations: 4 kB / 0.5667 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.5823, allocations: 19.92 kB / 0.5667 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5823, allocations: 0 / 0.5667 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5823, allocations: 0 / 0.5667 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5823, allocations: 4.875 kB / 0.5667 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5823, allocations: 3.953 kB / 0.5667 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5826, allocations: 181.2 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.5826, allocations: 92.95 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5826, allocations: 11.98 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.5827, allocations: 7.688 kB / 0.567 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.5828, allocations: 7.984 kB / 0.567 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5828, allocations: 15.89 kB / 0.567 GB, free: 9.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.5829, allocations: 146.5 kB / 0.5671 GB, free: 9.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5829, allocations: 0 / 0.5671 GB, free: 9.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.5831, allocations: 31.38 kB / 0.5672 GB, free: 9.824 MB / 394.7 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.0008217/0.5839, allocations: 379.2 kB / 0.5675 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.5841, allocations: 73.73 kB / 0.5676 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5841, allocations: 0 / 0.5676 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.5842, allocations: 35.31 kB / 0.5676 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5844, allocations: 31.34 kB / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.5848, allocations: 192.4 kB / 0.5678 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5849, allocations: 0.7203 MB / 0.5685 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.585, allocations: 17.2 kB / 0.5686 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.5851, allocations: 19.42 kB / 0.5686 GB, free: 8.457 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5851, allocations: 0 / 0.5686 GB, free: 8.457 MB / 394.7 MB Notification: Performance of Templates: time 0.004002/0.5891, allocations: 1.796 MB / 0.5703 GB, free: 6.676 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches