Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.3 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.348/1.348, allocations: 223.2 MB / 241 MB, free: 10.14 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.0007994/0.0007992, allocations: 92.05 kB / 292.2 MB, free: 10.71 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.405/0.405, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 16 kB / 459.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4072, allocations: 61.9 MB / 0.5096 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.5263, allocations: 89.56 MB / 0.597 GB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5266, allocations: 79.91 kB / 0.5971 GB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.5482, allocations: 8.26 MB / 0.6052 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5482, allocations: 4 kB / 0.6052 GB, free: 13.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.5483, allocations: 7.938 kB / 0.6052 GB, free: 13.26 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.0007968/0.5491, allocations: 0.5446 MB / 0.6057 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5491, allocations: 16.02 kB / 0.6057 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.5492, allocations: 23.72 kB / 0.6057 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.5497, allocations: 287 kB / 0.606 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.5497, allocations: 15.98 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5498, allocations: 8 kB / 0.606 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.55, allocations: 113.5 kB / 0.6062 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.55, allocations: 4 kB / 0.6062 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5501, allocations: 7.984 kB / 0.6062 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.5501, allocations: 0 / 0.6062 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.5502, allocations: 55.94 kB / 0.6062 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.5509, allocations: 496.7 kB / 0.6067 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.5513, allocations: 129.2 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5513, allocations: 4 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.5516, allocations: 113.2 kB / 0.6069 GB, free: 11.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.5516, allocations: 0 / 0.6069 GB, free: 11.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.5529, allocations: 0.5047 MB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.553, allocations: 81.11 kB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.5535, allocations: 395.5 kB / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.5535, allocations: 33.69 kB / 0.6079 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5537, allocations: 156.5 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5537, allocations: 63.02 kB / 0.6081 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5537, allocations: 8 kB / 0.6081 GB, free: 10 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5539, allocations: 350.7 kB / 0.6085 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.554, allocations: 63.97 kB / 0.6085 GB, free: 9.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.5542, allocations: 84.5 kB / 0.6086 GB, free: 9.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5543, allocations: 75.86 kB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5543, allocations: 0 / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003966/0.5547, allocations: 237.2 kB / 0.6089 GB, free: 9.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5548, allocations: 9.359 kB / 0.6089 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5548, allocations: 0 / 0.6089 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5548, allocations: 4 kB / 0.6089 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.555, allocations: 39.92 kB / 0.6089 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.555, allocations: 4 kB / 0.609 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.5551, allocations: 11.98 kB / 0.609 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.5551, allocations: 12 kB / 0.609 GB, free: 9.105 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.0001767/0.5553, allocations: 174.3 kB / 0.6091 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.5553, allocations: 31.62 kB / 0.6092 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.5559, allocations: 284.6 kB / 0.6094 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5559, allocations: 4 kB / 0.6094 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5559, allocations: 0 / 0.6094 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5559, allocations: 0 / 0.6094 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5571, allocations: 0.7936 MB / 0.6102 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5571, allocations: 0 / 0.6102 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.5572, allocations: 35.92 kB / 0.6103 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5572, allocations: 0 / 0.6103 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.5572, allocations: 12 kB / 0.6103 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5573, allocations: 4.125 kB / 0.6103 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5573, allocations: 4 kB / 0.6103 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.5578, allocations: 499.4 kB / 0.6108 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.558, allocations: 128.7 kB / 0.6109 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.558, allocations: 15.94 kB / 0.6109 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5582, allocations: 7.984 kB / 0.6109 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.5582, allocations: 23.92 kB / 0.6109 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.5583, allocations: 12 kB / 0.6109 GB, free: 6.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003368/0.5586, allocations: 323 kB / 0.6112 GB, free: 6.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5586, allocations: 0 / 0.6112 GB, free: 6.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.559, allocations: 71.86 kB / 0.6113 GB, free: 6.547 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.001239/0.5603, allocations: 0.5161 MB / 0.6118 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.5606, allocations: 171.3 kB / 0.612 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5606, allocations: 3.938 kB / 0.612 GB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.5608, allocations: 79.91 kB / 0.6121 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.5612, allocations: 63.41 kB / 0.6121 GB, free: 5.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.5622, allocations: 0.6212 MB / 0.6127 GB, free: 5.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.5626, allocations: 0.7914 MB / 0.6135 GB, free: 4.445 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.5628, allocations: 41.94 kB / 0.6135 GB, free: 4.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.5629, allocations: 35.42 kB / 0.6136 GB, free: 4.371 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5629, allocations: 0 / 0.6136 GB, free: 4.371 MB / 426.7 MB Notification: Performance of Templates: time 0.007162/0.57, allocations: 3.277 MB / 0.6168 GB, free: 1.133 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches