Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 179 kB / 18.09 MB, free: 3.754 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.23/1.23, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008097/0.0008097, allocations: 105.3 kB / 293.3 MB, free: 10.8 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.2727/0.2727, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2674, allocations: 61.88 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09912/0.3666, allocations: 90.23 MB / 0.5989 GB, free: 4.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3668, allocations: 75.95 kB / 0.5989 GB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.3785, allocations: 4.411 MB / 0.6032 GB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3785, allocations: 0 / 0.6032 GB, free: 388 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3785, allocations: 4 kB / 0.6032 GB, free: 384 kB / 410.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.0005939/0.3791, allocations: 484.7 kB / 0.6037 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3792, allocations: 12.03 kB / 0.6037 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3792, allocations: 20.73 kB / 0.6037 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.3795, allocations: 226.3 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3795, allocations: 8.375 kB / 0.604 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3796, allocations: 4.375 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3798, allocations: 118.9 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3798, allocations: 192 / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3799, allocations: 7.938 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3799, allocations: 0 / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.38, allocations: 59.91 kB / 0.6041 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3806, allocations: 0.5203 MB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.381, allocations: 94.66 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.3811, allocations: 40.84 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3811, allocations: 3.984 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3813, allocations: 95.25 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3813, allocations: 3.938 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003823/0.3817, allocations: 145.5 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.3818, allocations: 51.41 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3819, allocations: 199.4 kB / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.382, allocations: 25.7 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.382, allocations: 120 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3821, allocations: 23.66 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.3821, allocations: 0 / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3822, allocations: 334.8 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.3823, allocations: 31.98 kB / 0.6058 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3824, allocations: 69.08 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.3827, allocations: 100.2 kB / 0.6059 GB, free: 13.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3827, allocations: 4 kB / 0.6059 GB, free: 13.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002756/0.383, allocations: 145.3 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.383, allocations: 4.469 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.383, allocations: 4 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.383, allocations: 0 / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.3831, allocations: 23.98 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3831, allocations: 8.062 kB / 0.6061 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.3832, allocations: 15.84 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3832, allocations: 11.94 kB / 0.6061 GB, free: 13.13 MB / 426.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 () * Number of clocked 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 9.746e-05/0.3833, allocations: 131 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3833, allocations: 11.91 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.3836, allocations: 135 kB / 0.6064 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3837, allocations: 3.984 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3837, allocations: 0 / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3837, allocations: 4 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3839, allocations: 221.4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3839, allocations: 0 / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.3839, allocations: 12 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.384, allocations: 0 / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.384, allocations: 4 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.384, allocations: 11.92 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.384, allocations: 0 / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.3844, allocations: 200.7 kB / 0.6068 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3844, allocations: 93.03 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3845, allocations: 4 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.3845, allocations: 16.05 kB / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3846, allocations: 0 / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3846, allocations: 11.98 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3847, allocations: 141.2 kB / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3847, allocations: 0 / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.385, allocations: 43.95 kB / 0.6071 GB, free: 12.01 MB / 426.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) * Number of clocked states: 0 () * 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.0008801/0.3859, allocations: 421.3 kB / 0.6075 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3861, allocations: 91.83 kB / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3861, allocations: 0 / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.3862, allocations: 39.98 kB / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3865, allocations: 36.33 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.387, allocations: 306.1 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3873, allocations: 0.7165 MB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.3874, allocations: 17.08 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3874, allocations: 15.44 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.3874, allocations: 4 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004282/0.3917, allocations: 1.811 MB / 0.6105 GB, free: 8.695 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches