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.0009433/0.0009434, allocations: 175.1 kB / 18.08 MB, free: 3.609 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.251/1.251, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008019/0.0008019, allocations: 101.7 kB / 293.3 MB, free: 10.81 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.3084/0.3084, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 16 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3773, allocations: 61.87 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.499, allocations: 89.58 MB / 0.5982 GB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4994, allocations: 83.94 kB / 0.5983 GB, free: 5.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.5215, allocations: 8.256 MB / 0.6063 GB, free: 13.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5215, allocations: 4 kB / 0.6064 GB, free: 13.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.5216, allocations: 7.938 kB / 0.6064 GB, free: 13.18 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.0008767/0.5224, allocations: 0.5448 MB / 0.6069 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5225, allocations: 12.03 kB / 0.6069 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.5226, allocations: 24.66 kB / 0.6069 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.5231, allocations: 308 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5232, allocations: 8.375 kB / 0.6072 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.5232, allocations: 8.375 kB / 0.6072 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.5235, allocations: 117.7 kB / 0.6073 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5235, allocations: 4.188 kB / 0.6074 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5235, allocations: 7.922 kB / 0.6074 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5235, allocations: 0 / 0.6074 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.5237, allocations: 55.89 kB / 0.6074 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.5244, allocations: 492.7 kB / 0.6079 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.5248, allocations: 125.2 kB / 0.608 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5249, allocations: 53.81 kB / 0.6081 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.5249, allocations: 4.141 kB / 0.6081 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.5251, allocations: 123.6 kB / 0.6082 GB, free: 11.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.469e-05/0.5252, allocations: 0 / 0.6082 GB, free: 11.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.00133/0.5265, allocations: 0.4968 MB / 0.6087 GB, free: 10.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.5266, allocations: 88.98 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.527, allocations: 428.3 kB / 0.6092 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5271, allocations: 33.7 kB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.5272, allocations: 152.5 kB / 0.6093 GB, free: 9.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.5273, allocations: 71 kB / 0.6094 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5273, allocations: 4 kB / 0.6094 GB, free: 9.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5274, allocations: 346.8 kB / 0.6097 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5276, allocations: 55.97 kB / 0.6098 GB, free: 9.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5277, allocations: 96.42 kB / 0.6099 GB, free: 9.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.528, allocations: 167.5 kB / 0.61 GB, free: 9.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.528, allocations: 0 / 0.61 GB, free: 9.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003987/0.5284, allocations: 237.1 kB / 0.6103 GB, free: 8.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5284, allocations: 4 kB / 0.6103 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5284, allocations: 0 / 0.6103 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5284, allocations: 4 kB / 0.6103 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5286, allocations: 47.86 kB / 0.6103 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.5286, allocations: 4 kB / 0.6103 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.5287, allocations: 12.05 kB / 0.6103 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.5287, allocations: 12 kB / 0.6103 GB, free: 8.82 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.0001611/0.5289, allocations: 170.3 kB / 0.6105 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.529, allocations: 31.62 kB / 0.6105 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.5295, allocations: 276.3 kB / 0.6108 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5295, allocations: 7.938 kB / 0.6108 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5295, allocations: 4 kB / 0.6108 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5295, allocations: 0 / 0.6108 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.5305, allocations: 0.7936 MB / 0.6116 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5305, allocations: 4.031 kB / 0.6116 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.5306, allocations: 35.98 kB / 0.6116 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5306, allocations: 0 / 0.6116 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5306, allocations: 8 kB / 0.6116 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5306, allocations: 192 / 0.6116 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5307, allocations: 7.938 kB / 0.6116 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.5311, allocations: 435.8 kB / 0.6121 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.5313, allocations: 132.6 kB / 0.6122 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.5313, allocations: 8 kB / 0.6122 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5315, allocations: 12 kB / 0.6122 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.5315, allocations: 27.84 kB / 0.6122 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.5316, allocations: 12 kB / 0.6122 GB, free: 6.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.5319, allocations: 319 kB / 0.6125 GB, free: 6.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.2e-06/0.5319, allocations: 0 / 0.6125 GB, free: 6.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.5323, allocations: 67.88 kB / 0.6126 GB, free: 6.371 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.001288/0.5336, allocations: 0.5235 MB / 0.6131 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.534, allocations: 175.3 kB / 0.6133 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.534, allocations: 0 / 0.6133 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5342, allocations: 87.84 kB / 0.6134 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.5348, allocations: 60.59 kB / 0.6134 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.5358, allocations: 0.6211 MB / 0.614 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.5362, allocations: 0.7719 MB / 0.6148 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.5363, allocations: 53.91 kB / 0.6148 GB, free: 4.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.5364, allocations: 35.44 kB / 0.6149 GB, free: 4.191 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5364, allocations: 0 / 0.6149 GB, free: 4.191 MB / 426.7 MB Notification: Performance of Templates: time 0.007261/0.5437, allocations: 3.294 MB / 0.6181 GB, free: 0.9297 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/jenkins1/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