Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001264, allocations: 187 kB / 18.09 MB, free: 3.727 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.253/1.253, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0008479/0.000848, allocations: 91.98 kB / 293.3 MB, free: 10.57 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.2971/0.2971, allocations: 44.14 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003459, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 61.88 MB / 0.5107 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3894, allocations: 89.31 MB / 0.598 GB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3897, allocations: 83.94 kB / 0.598 GB, free: 5.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.4049, allocations: 5.888 MB / 0.6038 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4049, allocations: 0 / 0.6038 GB, free: 15.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4049, allocations: 11.94 kB / 0.6038 GB, free: 15.79 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.0005099/0.4054, allocations: 438.8 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4055, allocations: 12.03 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.4055, allocations: 12.75 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.4059, allocations: 231.9 kB / 0.6045 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4059, allocations: 4.359 kB / 0.6045 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4059, allocations: 4.375 kB / 0.6045 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4061, allocations: 62.17 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4061, allocations: 192 / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4061, allocations: 3.938 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4061, allocations: 0 / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.4062, allocations: 19.98 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4066, allocations: 312.8 kB / 0.6048 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4068, allocations: 66.55 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.4068, allocations: 24.84 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.4069, allocations: 0 / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.407, allocations: 71.38 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.407, allocations: 0 / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005282/0.4075, allocations: 177.1 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4076, allocations: 55.41 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.4079, allocations: 264.7 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4079, allocations: 29.7 kB / 0.6055 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.4079, allocations: 112.1 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.408, allocations: 19.66 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.408, allocations: 4 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4081, allocations: 335 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.4082, allocations: 20 kB / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.4082, allocations: 45.62 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.4084, allocations: 57.72 kB / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4084, allocations: 0 / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.4086, allocations: 109.4 kB / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4086, allocations: 5.562 kB / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4086, allocations: 0 / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4086, allocations: 0 / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.4087, allocations: 24.02 kB / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4087, allocations: 0 / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.4088, allocations: 8 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.4088, allocations: 384 / 0.6062 GB, free: 13.07 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 0.0001017/0.4089, allocations: 137.8 kB / 0.6063 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.4089, allocations: 19.75 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.4092, allocations: 127 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4092, allocations: 4 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4092, allocations: 4 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.4092, allocations: 3.938 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4097, allocations: 439.2 kB / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4097, allocations: 0 / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.4097, allocations: 11.94 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4097, allocations: 0 / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4098, allocations: 8 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4098, allocations: 4.266 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4098, allocations: 4.219 kB / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.41, allocations: 220.1 kB / 0.6071 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.4101, allocations: 100.9 kB / 0.6072 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4101, allocations: 3.984 kB / 0.6072 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.4102, allocations: 4 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.4102, allocations: 19.91 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4103, allocations: 8 kB / 0.6073 GB, free: 11.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.4105, allocations: 192.2 kB / 0.6075 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4105, allocations: 0 / 0.6075 GB, free: 11.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4107, allocations: 39.92 kB / 0.6075 GB, free: 11.64 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.0009441/0.4117, allocations: 482.6 kB / 0.608 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.4119, allocations: 59.97 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4119, allocations: 0 / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.412, allocations: 31.92 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.4123, allocations: 23.98 kB / 0.6081 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.413, allocations: 323 kB / 0.6084 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4133, allocations: 0.7239 MB / 0.6091 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.4134, allocations: 16.86 kB / 0.6091 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.4135, allocations: 19.38 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4135, allocations: 0 / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of Templates: time 0.004811/0.4183, allocations: 1.855 MB / 0.6109 GB, free: 8.273 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches