Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 177 kB / 17.06 MB, free: 5.094 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.27/1.27, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008152/0.000815, allocations: 94.55 kB / 292.1 MB, free: 10.93 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.3219/0.3219, allocations: 44.21 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 16 kB / 459.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.4414, allocations: 90.21 MB / 0.5977 GB, free: 4.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4417, allocations: 75.94 kB / 0.5977 GB, free: 4.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.453, allocations: 4.411 MB / 0.602 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.453, allocations: 0 / 0.602 GB, free: 492 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.453, allocations: 0 / 0.602 GB, free: 492 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005591/0.4536, allocations: 492.4 kB / 0.6025 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4536, allocations: 8.031 kB / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4537, allocations: 15.81 kB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.454, allocations: 233 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.454, allocations: 7.938 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4541, allocations: 12 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.4543, allocations: 106.2 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4543, allocations: 7.938 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4543, allocations: 0 / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4543, allocations: 0 / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.4545, allocations: 59.91 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.4551, allocations: 0.5204 MB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4554, allocations: 90.66 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.4554, allocations: 4 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.4556, allocations: 83.31 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.936e-06/0.4557, allocations: 0 / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003694/0.456, allocations: 161.3 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.4561, allocations: 55.41 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4563, allocations: 170.6 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4563, allocations: 25.7 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.4563, allocations: 124.1 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4564, allocations: 27.64 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4564, allocations: 0 / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4565, allocations: 330.8 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.4566, allocations: 35.97 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.4567, allocations: 66.91 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.283e-05/0.4568, allocations: 39.92 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4568, allocations: 0 / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002544/0.4571, allocations: 145.7 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4571, allocations: 9.406 kB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4571, allocations: 0 / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4571, allocations: 4 kB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.4572, allocations: 24.11 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4573, allocations: 4 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.4573, allocations: 19.83 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4573, allocations: 8 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001005/0.4575, allocations: 130.3 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.4575, allocations: 11.89 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4578, allocations: 143 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4578, allocations: 8 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4578, allocations: 0 / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4578, allocations: 0 / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.458, allocations: 213.5 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.458, allocations: 0 / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.4581, allocations: 15.98 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4581, allocations: 4 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4581, allocations: 0 / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4581, allocations: 4 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4581, allocations: 0 / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.4585, allocations: 200.8 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.4586, allocations: 100.9 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4586, allocations: 4 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.4587, allocations: 8.062 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.4587, allocations: 7.984 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4587, allocations: 8 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4589, allocations: 137.5 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4589, allocations: 0 / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000228/0.4591, allocations: 36.06 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009671/0.4601, allocations: 420.9 kB / 0.6062 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.4603, allocations: 87.84 kB / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4603, allocations: 0 / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.4604, allocations: 44.09 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4607, allocations: 44.23 kB / 0.6064 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.4611, allocations: 302 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.4614, allocations: 0.7204 MB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.4614, allocations: 17.08 kB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.4615, allocations: 15.44 kB / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4615, allocations: 0 / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of Templates: time 0.004071/0.4656, allocations: 1.791 MB / 0.6091 GB, free: 8.965 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches