Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.68/1.68, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008315/0.0008315, allocations: 85.97 kB / 271.3 MB, free: 8.254 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.3125/0.3125, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.099, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3907, allocations: 87.77 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.391, allocations: 76.88 kB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.4061, allocations: 5.698 MB / 0.5713 GB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4062, allocations: 4 kB / 0.5713 GB, free: 8.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4062, allocations: 0 / 0.5713 GB, free: 8.352 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005548/0.4067, allocations: 445.8 kB / 0.5717 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4068, allocations: 8.031 kB / 0.5717 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.4069, allocations: 16.75 kB / 0.5718 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.4072, allocations: 233.9 kB / 0.572 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4072, allocations: 4.375 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.4073, allocations: 8.375 kB / 0.572 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4074, allocations: 54.22 kB / 0.572 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4074, allocations: 8.094 kB / 0.5721 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4074, allocations: 11.92 kB / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4074, allocations: 0 / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.4075, allocations: 19.98 kB / 0.5721 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.4079, allocations: 309.4 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.4081, allocations: 66.61 kB / 0.5724 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.4082, allocations: 25.59 kB / 0.5725 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4082, allocations: 3.938 kB / 0.5725 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.4083, allocations: 67.39 kB / 0.5725 GB, free: 6.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.4084, allocations: 0 / 0.5725 GB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006018/0.409, allocations: 185.9 kB / 0.5727 GB, free: 6.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.409, allocations: 55.41 kB / 0.5728 GB, free: 6.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.4093, allocations: 251.7 kB / 0.573 GB, free: 6.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4094, allocations: 33.64 kB / 0.573 GB, free: 6.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.4094, allocations: 120 kB / 0.5732 GB, free: 6.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.4095, allocations: 19.75 kB / 0.5732 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.4095, allocations: 0 / 0.5732 GB, free: 6.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4096, allocations: 334.8 kB / 0.5735 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4097, allocations: 20 kB / 0.5735 GB, free: 5.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.4098, allocations: 37.7 kB / 0.5735 GB, free: 5.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4099, allocations: 61.77 kB / 0.5736 GB, free: 5.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4099, allocations: 0 / 0.5736 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.4101, allocations: 113.4 kB / 0.5737 GB, free: 5.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4101, allocations: 8 kB / 0.5737 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4102, allocations: 4.031 kB / 0.5737 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4102, allocations: 0 / 0.5737 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.4103, allocations: 19.92 kB / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4103, allocations: 4 kB / 0.5737 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.4103, allocations: 0 / 0.5737 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4104, allocations: 4 kB / 0.5738 GB, free: 5.621 MB / 394.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.0001288/0.4105, allocations: 140.3 kB / 0.5739 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.4105, allocations: 15.81 kB / 0.5739 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.4108, allocations: 123 kB / 0.574 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4108, allocations: 4 kB / 0.574 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4108, allocations: 3.984 kB / 0.574 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4108, allocations: 0 / 0.574 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.4113, allocations: 439.1 kB / 0.5744 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4114, allocations: 3.984 kB / 0.5744 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.4114, allocations: 8 kB / 0.5745 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4114, allocations: 4 kB / 0.5745 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.4114, allocations: 4.031 kB / 0.5745 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4114, allocations: 0 / 0.5745 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4114, allocations: 7.938 kB / 0.5745 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.4117, allocations: 220.3 kB / 0.5747 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.4118, allocations: 97.02 kB / 0.5748 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.4118, allocations: 0 / 0.5748 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.4119, allocations: 15.98 kB / 0.5748 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.4119, allocations: 8.312 kB / 0.5748 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4119, allocations: 7.922 kB / 0.5748 GB, free: 4.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.4121, allocations: 195.3 kB / 0.575 GB, free: 4.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4121, allocations: 0 / 0.575 GB, free: 4.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.4124, allocations: 47.83 kB / 0.575 GB, free: 4.195 MB / 394.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.001067/0.4135, allocations: 471.5 kB / 0.5755 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.4137, allocations: 67.84 kB / 0.5755 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4137, allocations: 0 / 0.5755 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.4138, allocations: 28.14 kB / 0.5756 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4141, allocations: 36.8 kB / 0.5756 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.4147, allocations: 325.1 kB / 0.5759 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.415, allocations: 0.7121 MB / 0.5766 GB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.4151, allocations: 20.53 kB / 0.5766 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.4152, allocations: 23.44 kB / 0.5767 GB, free: 2.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4152, allocations: 0 / 0.5767 GB, free: 2.59 MB / 394.7 MB Notification: Performance of Templates: time 0.004338/0.4195, allocations: 1.831 MB / 0.5784 GB, free: 0.7695 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches