Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 183.1 kB / 18.09 MB, free: 3.723 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.301/1.301, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0008094/0.0008095, allocations: 96.72 kB / 293.3 MB, free: 10.77 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.3425/0.3425, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004149, allocations: 16 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3513, allocations: 61.88 MB / 0.5107 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.464, allocations: 89.32 MB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4642, allocations: 83.94 kB / 0.598 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.4792, allocations: 5.903 MB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4793, allocations: 0 / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4793, allocations: 7.938 kB / 0.6038 GB, free: 15.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004811/0.4798, allocations: 438.9 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4798, allocations: 8.031 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4799, allocations: 16.75 kB / 0.6043 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.4801, allocations: 227.9 kB / 0.6045 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4802, allocations: 12.38 kB / 0.6045 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4802, allocations: 384 / 0.6045 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4803, allocations: 58.17 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4803, allocations: 8.188 kB / 0.6046 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4804, allocations: 3.938 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4804, allocations: 0 / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.658e-05/0.4804, allocations: 19.98 kB / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.4808, allocations: 312.8 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.481, allocations: 66.56 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.481, allocations: 24.84 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.4811, allocations: 0 / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4812, allocations: 63.39 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.4812, allocations: 0 / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004998/0.4817, allocations: 189 kB / 0.6052 GB, free: 14.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4818, allocations: 59.41 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.4821, allocations: 256.7 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4821, allocations: 25.7 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.4821, allocations: 112.1 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4822, allocations: 27.64 kB / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.4822, allocations: 0 / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4823, allocations: 331 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.4824, allocations: 23.98 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.4825, allocations: 45.64 kB / 0.606 GB, free: 13.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.4826, allocations: 57.69 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4826, allocations: 0 / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.4828, allocations: 105.4 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4828, allocations: 11.98 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4828, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4828, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.4829, allocations: 16.03 kB / 0.6062 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4829, allocations: 4 kB / 0.6062 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.483, allocations: 7.984 kB / 0.6062 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.483, allocations: 4 kB / 0.6062 GB, free: 13.03 MB / 426.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 9.995e-05/0.4831, allocations: 141.7 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.4831, allocations: 15.81 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4834, allocations: 119 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4834, allocations: 4 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4834, allocations: 7.938 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4834, allocations: 0 / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.4839, allocations: 435.6 kB / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4839, allocations: 3.938 kB / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.4839, allocations: 16 kB / 0.6069 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4839, allocations: 0 / 0.6069 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.484, allocations: 4.266 kB / 0.607 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.484, allocations: 0 / 0.607 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.484, allocations: 11.97 kB / 0.607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.4842, allocations: 224.1 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.4843, allocations: 97 kB / 0.6073 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4843, allocations: 4 kB / 0.6073 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.4844, allocations: 4 kB / 0.6073 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.4844, allocations: 11.92 kB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.4844, allocations: 4 kB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.4846, allocations: 200.2 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4846, allocations: 0 / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.4849, allocations: 35.94 kB / 0.6075 GB, free: 11.61 MB / 426.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.0009135/0.4858, allocations: 491.3 kB / 0.608 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.486, allocations: 51.98 kB / 0.608 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.486, allocations: 0 / 0.608 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.486, allocations: 35.92 kB / 0.6081 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4864, allocations: 27.97 kB / 0.6081 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4869, allocations: 319 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4872, allocations: 0.7238 MB / 0.6091 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.4872, allocations: 16.55 kB / 0.6091 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.4873, allocations: 19.44 kB / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4873, allocations: 0 / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of Templates: time 0.004026/0.4913, allocations: 1.853 MB / 0.611 GB, free: 8.238 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches