Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 182.2 kB / 15.76 MB, free: 6.367 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.642/1.642, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008152/0.0008152, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2263/0.2263, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5891, allocations: 87.71 MB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5895, allocations: 77.34 kB / 0.5645 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.6039, allocations: 5.392 MB / 0.5698 GB, free: 7.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.604, allocations: 0 / 0.5698 GB, free: 7.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.604, allocations: 4 kB / 0.5698 GB, free: 7.551 MB / 378.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.0005485/0.6045, allocations: 415.2 kB / 0.5702 GB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6046, allocations: 12.03 kB / 0.5702 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.6046, allocations: 7.906 kB / 0.5702 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.6049, allocations: 217.2 kB / 0.5704 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.605, allocations: 0 / 0.5704 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.605, allocations: 4 kB / 0.5704 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6051, allocations: 54.61 kB / 0.5704 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6052, allocations: 0 / 0.5704 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6052, allocations: 0 / 0.5704 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6052, allocations: 3.984 kB / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.6053, allocations: 26.11 kB / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.6057, allocations: 298.7 kB / 0.5708 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.6059, allocations: 64.72 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.6059, allocations: 0 / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.6061, allocations: 77.14 kB / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6061, allocations: 0 / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005632/0.6067, allocations: 173.8 kB / 0.5711 GB, free: 6.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6068, allocations: 59.3 kB / 0.5711 GB, free: 6.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.607, allocations: 177.9 kB / 0.5713 GB, free: 5.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.607, allocations: 25.7 kB / 0.5713 GB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.607, allocations: 97.77 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.6071, allocations: 27.52 kB / 0.5714 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.6071, allocations: 4 kB / 0.5714 GB, free: 5.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6072, allocations: 325.4 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.6073, allocations: 22.67 kB / 0.5718 GB, free: 5.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.6074, allocations: 36 kB / 0.5718 GB, free: 5.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.6074, allocations: 25.56 kB / 0.5718 GB, free: 5.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.6075, allocations: 0 / 0.5718 GB, free: 5.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.6076, allocations: 109.8 kB / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6077, allocations: 10.66 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6077, allocations: 0 / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6077, allocations: 0 / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.6078, allocations: 16.17 kB / 0.572 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6078, allocations: 4 kB / 0.572 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.6079, allocations: 7.891 kB / 0.572 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.6079, allocations: 4 kB / 0.572 GB, free: 5.266 MB / 378.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.000117/0.608, allocations: 132.6 kB / 0.5721 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.608, allocations: 15.91 kB / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.6083, allocations: 114.1 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6083, allocations: 4 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6083, allocations: 0 / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6083, allocations: 0 / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.6088, allocations: 416.4 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.6088, allocations: 0 / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.6089, allocations: 16.02 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.6089, allocations: 4 kB / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.6089, allocations: 0 / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6089, allocations: 3.953 kB / 0.5726 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6089, allocations: 3.938 kB / 0.5726 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.6092, allocations: 215.8 kB / 0.5729 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.6093, allocations: 102.8 kB / 0.573 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.6093, allocations: 5.391 kB / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.6094, allocations: 4.938 kB / 0.573 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.6094, allocations: 9.234 kB / 0.573 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.6094, allocations: 8.812 kB / 0.573 GB, free: 4.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.6096, allocations: 142.2 kB / 0.5731 GB, free: 4.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6096, allocations: 0 / 0.5731 GB, free: 4.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.6098, allocations: 31.81 kB / 0.5731 GB, free: 4.059 MB / 378.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.001043/0.6109, allocations: 492.6 kB / 0.5736 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.6111, allocations: 54.73 kB / 0.5737 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6111, allocations: 4 kB / 0.5737 GB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.6112, allocations: 31.92 kB / 0.5737 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.6115, allocations: 24.59 kB / 0.5737 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.6119, allocations: 247.2 kB / 0.574 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.6122, allocations: 0.7043 MB / 0.5746 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.6123, allocations: 16.55 kB / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.6123, allocations: 15.44 kB / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6123, allocations: 0 / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of Templates: time 0.004389/0.6167, allocations: 1.681 MB / 0.5763 GB, free: 0.8633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches