Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008303/0.0008302, allocations: 86.03 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3457/0.3457, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 16 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.3782, allocations: 87.88 MB / 0.5658 GB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.3784, allocations: 73.58 kB / 0.5658 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.3984, allocations: 7.694 MB / 0.5734 GB, free: 6.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3985, allocations: 0 / 0.5734 GB, free: 6.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.3985, allocations: 4 kB / 0.5734 GB, free: 6.234 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006996/0.3992, allocations: 0.5392 MB / 0.5739 GB, free: 5.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3993, allocations: 8.031 kB / 0.5739 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.3994, allocations: 28.56 kB / 0.5739 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3998, allocations: 308 kB / 0.5742 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3998, allocations: 4.375 kB / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3999, allocations: 8.375 kB / 0.5742 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.4001, allocations: 104.8 kB / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4001, allocations: 192 / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4001, allocations: 7.922 kB / 0.5743 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4001, allocations: 0 / 0.5743 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4003, allocations: 43.91 kB / 0.5744 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.4009, allocations: 473 kB / 0.5748 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.4012, allocations: 117.2 kB / 0.5749 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.4013, allocations: 49.69 kB / 0.575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4013, allocations: 4 kB / 0.575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.4016, allocations: 109.6 kB / 0.5751 GB, free: 4.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.4016, allocations: 0 / 0.5751 GB, free: 4.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009009/0.4025, allocations: 383.8 kB / 0.5755 GB, free: 3.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4026, allocations: 85.11 kB / 0.5755 GB, free: 3.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.403, allocations: 420.5 kB / 0.5759 GB, free: 3.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.4031, allocations: 33.7 kB / 0.576 GB, free: 3.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.4032, allocations: 152.3 kB / 0.5761 GB, free: 3.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.4032, allocations: 52.05 kB / 0.5762 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4032, allocations: 0 / 0.5762 GB, free: 3.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4034, allocations: 346.8 kB / 0.5765 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4035, allocations: 51.41 kB / 0.5766 GB, free: 2.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.4036, allocations: 72.78 kB / 0.5766 GB, free: 2.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4038, allocations: 127.5 kB / 0.5767 GB, free: 2.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4038, allocations: 0 / 0.5767 GB, free: 2.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003325/0.4042, allocations: 181.3 kB / 0.5769 GB, free: 2.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4042, allocations: 7.938 kB / 0.5769 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4042, allocations: 0 / 0.5769 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4042, allocations: 7.938 kB / 0.5769 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4044, allocations: 35.92 kB / 0.577 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4044, allocations: 4 kB / 0.577 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.4045, allocations: 7.984 kB / 0.577 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4045, allocations: 8 kB / 0.577 GB, free: 2.25 MB / 394.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 (20): * Single equations (assignments): 20 * 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.0001435/0.4047, allocations: 174.3 kB / 0.5772 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.4047, allocations: 31.61 kB / 0.5772 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.4051, allocations: 224.3 kB / 0.5774 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4051, allocations: 0 / 0.5774 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4052, allocations: 0 / 0.5774 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4052, allocations: 7.984 kB / 0.5774 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.406, allocations: 0.6866 MB / 0.5781 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.406, allocations: 4 kB / 0.5781 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.4061, allocations: 16 kB / 0.5781 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.4061, allocations: 0 / 0.5781 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4061, allocations: 15.92 kB / 0.5781 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4061, allocations: 4 kB / 0.5781 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4061, allocations: 0 / 0.5781 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.4065, allocations: 380 kB / 0.5785 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4067, allocations: 116.8 kB / 0.5786 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.4067, allocations: 15.92 kB / 0.5786 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.4069, allocations: 4.75 kB / 0.5786 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.4069, allocations: 19.98 kB / 0.5786 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4069, allocations: 11.98 kB / 0.5786 GB, free: 444 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003138/0.4073, allocations: 311 kB / 0.5789 GB, free: 136 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4073, allocations: 0 / 0.5789 GB, free: 136 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000351/0.4076, allocations: 67.92 kB / 0.579 GB, free: 68 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001016/0.4086, allocations: 483.2 kB / 0.5795 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.4089, allocations: 123.8 kB / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.409, allocations: 0 / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4091, allocations: 71.84 kB / 0.5796 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.4097, allocations: 61.73 kB / 0.5797 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.4105, allocations: 0.5557 MB / 0.5802 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.4109, allocations: 0.7635 MB / 0.581 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.411, allocations: 37.53 kB / 0.581 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.4111, allocations: 35.38 kB / 0.5811 GB, free: 14.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4111, allocations: 0 / 0.5811 GB, free: 14.01 MB / 410.7 MB Notification: Performance of Templates: time 0.006291/0.4174, allocations: 2.946 MB / 0.5839 GB, free: 11.08 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches