Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, 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.192/1.192, allocations: 223.3 MB / 242.1 MB, free: 9.953 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.0007492/0.0007493, allocations: 95.88 kB / 293.3 MB, free: 10.58 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.2912/0.2912, allocations: 44.15 MB / 388.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 20 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2894, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4006, allocations: 89.33 MB / 0.598 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4009, allocations: 79.94 kB / 0.598 GB, free: 5.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.4163, allocations: 5.939 MB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4164, allocations: 0 / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4164, allocations: 4 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.0005512/0.4169, allocations: 446.7 kB / 0.6043 GB, free: 15.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.417, allocations: 12.03 kB / 0.6043 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.417, allocations: 12.84 kB / 0.6043 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4174, allocations: 236.9 kB / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4174, allocations: 384 / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.4174, allocations: 4.375 kB / 0.6045 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.4176, allocations: 66.11 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4176, allocations: 192 / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4176, allocations: 3.938 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4176, allocations: 7.938 kB / 0.6046 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.4177, allocations: 27.97 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.4181, allocations: 300.9 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.4183, allocations: 66.55 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.4184, allocations: 20.86 kB / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4184, allocations: 7.984 kB / 0.605 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.4185, allocations: 67.38 kB / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4186, allocations: 0 / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.4191, allocations: 193 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.4191, allocations: 51.41 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.4195, allocations: 267.8 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4195, allocations: 25.7 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.4196, allocations: 120.1 kB / 0.6057 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4196, allocations: 27.64 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4196, allocations: 0 / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4197, allocations: 335 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.4198, allocations: 15.98 kB / 0.6061 GB, free: 13.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.4199, allocations: 41.64 kB / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.42, allocations: 61.7 kB / 0.6062 GB, free: 13.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.42, allocations: 0 / 0.6062 GB, free: 13.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.4202, allocations: 109.4 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4202, allocations: 8 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4203, allocations: 0 / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4203, allocations: 0 / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.4204, allocations: 15.98 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4204, allocations: 4 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.4204, allocations: 0 / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4204, allocations: 8.031 kB / 0.6063 GB, free: 13 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.0001249/0.4206, allocations: 143.4 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4206, allocations: 19.8 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.4209, allocations: 127.2 kB / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4209, allocations: 0 / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4209, allocations: 96 / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4209, allocations: 7.875 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.4214, allocations: 443.4 kB / 0.607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4214, allocations: 0 / 0.607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.4215, allocations: 16.36 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4215, allocations: 0 / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4215, allocations: 0 / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4215, allocations: 8 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.4215, allocations: 4.016 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.4218, allocations: 224.2 kB / 0.6072 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.4218, allocations: 104.9 kB / 0.6073 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.4219, allocations: 8 kB / 0.6073 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.422, allocations: 0 / 0.6073 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.422, allocations: 11.92 kB / 0.6074 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.422, allocations: 4 kB / 0.6074 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.4222, allocations: 205.5 kB / 0.6076 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4222, allocations: 0 / 0.6076 GB, free: 11.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.4225, allocations: 43.92 kB / 0.6076 GB, free: 11.55 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.000976/0.4235, allocations: 468.2 kB / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.4237, allocations: 67.91 kB / 0.6081 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4237, allocations: 3.938 kB / 0.6081 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.4238, allocations: 31.98 kB / 0.6081 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4241, allocations: 27.47 kB / 0.6082 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.4247, allocations: 343.1 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.425, allocations: 0.72 MB / 0.6092 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.4251, allocations: 16.86 kB / 0.6092 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.4251, allocations: 19.44 kB / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4251, allocations: 0 / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Templates: time 0.00444/0.4296, allocations: 1.868 MB / 0.6111 GB, free: 8.16 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches