Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 186 kB / 16.4 MB, free: 5.699 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001178/0.001178, allocations: 91.39 kB / 270.9 MB, free: 8.375 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.5043/0.5043, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5738, allocations: 87.67 MB / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5741, allocations: 74.88 kB / 0.5644 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.5976, allocations: 5.193 MB / 0.5695 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.5976, allocations: 4 kB / 0.5695 GB, free: 9.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5976, allocations: 11.88 kB / 0.5695 GB, free: 9.652 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.0006154/0.5983, allocations: 406 kB / 0.5699 GB, free: 9.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5983, allocations: 12.03 kB / 0.5699 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.5984, allocations: 15.25 kB / 0.5699 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.5987, allocations: 204 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5988, allocations: 1.406 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5988, allocations: 8.562 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.599, allocations: 57.61 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.599, allocations: 0 / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5991, allocations: 0 / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5991, allocations: 2.469 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.5992, allocations: 23.98 kB / 0.5702 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.5996, allocations: 288.9 kB / 0.5705 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.5999, allocations: 58.62 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.5999, allocations: 0 / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.6001, allocations: 71.5 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.6001, allocations: 0 / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007693/0.6009, allocations: 182 kB / 0.5708 GB, free: 8.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.601, allocations: 59.36 kB / 0.5708 GB, free: 8.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.6012, allocations: 149.5 kB / 0.571 GB, free: 7.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.6012, allocations: 32.42 kB / 0.571 GB, free: 7.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.6013, allocations: 158.5 kB / 0.5712 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.6014, allocations: 23.66 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.6014, allocations: 4 kB / 0.5712 GB, free: 7.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6015, allocations: 318.8 kB / 0.5715 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6016, allocations: 20 kB / 0.5715 GB, free: 7.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6017, allocations: 41.64 kB / 0.5715 GB, free: 7.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.6019, allocations: 23.98 kB / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6019, allocations: 0 / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002782/0.6022, allocations: 89.69 kB / 0.5716 GB, free: 7.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6022, allocations: 4 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6022, allocations: 0 / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.6022, allocations: 7.984 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6024, allocations: 15.94 kB / 0.5717 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6024, allocations: 4.406 kB / 0.5717 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.6025, allocations: 7.953 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6025, allocations: 4 kB / 0.5717 GB, free: 7.195 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.0001215/0.6027, allocations: 125.8 kB / 0.5718 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.6027, allocations: 19.81 kB / 0.5718 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.6031, allocations: 119 kB / 0.5719 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6031, allocations: 4 kB / 0.5719 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6031, allocations: 0 / 0.5719 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6031, allocations: 4 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.6038, allocations: 403.3 kB / 0.5723 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6038, allocations: 0 / 0.5723 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.6039, allocations: 8.281 kB / 0.5723 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.6039, allocations: 3.984 kB / 0.5723 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.6039, allocations: 11.94 kB / 0.5724 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.604, allocations: 7.891 kB / 0.5724 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.604, allocations: 0 / 0.5724 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.6043, allocations: 218 kB / 0.5726 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.6044, allocations: 96.91 kB / 0.5727 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6045, allocations: 3.953 kB / 0.5727 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6046, allocations: 4 kB / 0.5727 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.6046, allocations: 15.97 kB / 0.5727 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.6047, allocations: 8 kB / 0.5727 GB, free: 6.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.6048, allocations: 120.6 kB / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6048, allocations: 0 / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.6052, allocations: 39.92 kB / 0.5729 GB, free: 5.891 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.001311/0.6066, allocations: 476.8 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.6068, allocations: 59.91 kB / 0.5734 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6069, allocations: 0 / 0.5734 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.607, allocations: 35.92 kB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.6074, allocations: 33.33 kB / 0.5734 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.608, allocations: 246.2 kB / 0.5737 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.6083, allocations: 0.7004 MB / 0.5743 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.6083, allocations: 23.42 kB / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6083, allocations: 0 / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of Templates: time 0.005158/0.6135, allocations: 1.866 MB / 0.5762 GB, free: 2.52 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches