Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 181 kB / 17.06 MB, free: 5.098 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.416/1.416, allocations: 223.2 MB / 241 MB, free: 11.88 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.0007892/0.0007893, allocations: 93.38 kB / 292.1 MB, free: 10.92 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.3557/0.3557, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 20 kB / 459.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 61.89 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4874, allocations: 89.56 MB / 0.597 GB, free: 5.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.4878, allocations: 79.94 kB / 0.5971 GB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03065/0.5185, allocations: 8.101 MB / 0.605 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5186, allocations: 0 / 0.605 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.5186, allocations: 7.828 kB / 0.605 GB, free: 13.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007877/0.5194, allocations: 0.5215 MB / 0.6055 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5194, allocations: 12.03 kB / 0.6055 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.5195, allocations: 23.72 kB / 0.6056 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.52, allocations: 274.5 kB / 0.6058 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.5201, allocations: 7.953 kB / 0.6058 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.5201, allocations: 8 kB / 0.6058 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.5204, allocations: 113.8 kB / 0.6059 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5204, allocations: 7.891 kB / 0.606 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5204, allocations: 4 kB / 0.606 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5204, allocations: 4 kB / 0.606 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.5206, allocations: 51.95 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.5212, allocations: 488.7 kB / 0.6065 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.5215, allocations: 125.1 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5216, allocations: 7.984 kB / 0.6066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.5218, allocations: 121.2 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5218, allocations: 0 / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001262/0.5231, allocations: 0.4885 MB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5231, allocations: 89.09 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.5235, allocations: 318.1 kB / 0.6076 GB, free: 10.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.5235, allocations: 29.7 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.5236, allocations: 136.6 kB / 0.6077 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5237, allocations: 78.98 kB / 0.6078 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.5238, allocations: 4 kB / 0.6078 GB, free: 10.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5239, allocations: 338.8 kB / 0.6081 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.524, allocations: 59.97 kB / 0.6082 GB, free: 9.906 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5242, allocations: 92.48 kB / 0.6083 GB, free: 9.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5243, allocations: 71.88 kB / 0.6084 GB, free: 9.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5243, allocations: 0 / 0.6084 GB, free: 9.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004036/0.5248, allocations: 229.6 kB / 0.6086 GB, free: 9.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5248, allocations: 8 kB / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5248, allocations: 0 / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5248, allocations: 0 / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.525, allocations: 51.86 kB / 0.6086 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.525, allocations: 4 kB / 0.6086 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.5251, allocations: 12.06 kB / 0.6087 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.5251, allocations: 8 kB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001541/0.5253, allocations: 166.2 kB / 0.6088 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.5253, allocations: 27.62 kB / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.5259, allocations: 276.2 kB / 0.6091 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5259, allocations: 4 kB / 0.6091 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5259, allocations: 3.953 kB / 0.6091 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5259, allocations: 4 kB / 0.6091 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5269, allocations: 0.7624 MB / 0.6099 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5269, allocations: 8.219 kB / 0.6099 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.527, allocations: 35.86 kB / 0.6099 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5271, allocations: 4 kB / 0.6099 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.5271, allocations: 11.98 kB / 0.6099 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5271, allocations: 4 kB / 0.6099 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5271, allocations: 0 / 0.6099 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.5276, allocations: 483.5 kB / 0.6104 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5278, allocations: 120.7 kB / 0.6105 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.5278, allocations: 12 kB / 0.6105 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.528, allocations: 15.98 kB / 0.6105 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.5281, allocations: 19.92 kB / 0.6105 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.5281, allocations: 15.97 kB / 0.6106 GB, free: 7.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.5284, allocations: 261.9 kB / 0.6108 GB, free: 7.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.835e-06/0.5284, allocations: 0 / 0.6108 GB, free: 7.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.5287, allocations: 67.86 kB / 0.6109 GB, free: 6.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001168/0.5299, allocations: 0.5334 MB / 0.6114 GB, free: 6.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.5303, allocations: 167.7 kB / 0.6116 GB, free: 6.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5303, allocations: 0 / 0.6116 GB, free: 6.492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.5305, allocations: 83.91 kB / 0.6116 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.5309, allocations: 63.95 kB / 0.6117 GB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.5318, allocations: 0.5353 MB / 0.6122 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.5322, allocations: 0.7723 MB / 0.613 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.5323, allocations: 45.92 kB / 0.613 GB, free: 4.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.5324, allocations: 31.42 kB / 0.613 GB, free: 4.891 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5324, allocations: 0 / 0.613 GB, free: 4.891 MB / 426.7 MB Notification: Performance of Templates: time 0.006764/0.5392, allocations: 3.131 MB / 0.6161 GB, free: 1.797 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches