Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3598, allocations: 60.83 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002664/0.3625, allocations: 1.711 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3638, allocations: 0.8713 MB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.3639, allocations: 5.125 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3642, allocations: 34.95 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.3644, allocations: 64.14 kB / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3647, allocations: 104.6 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3649, allocations: 96.75 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.365, allocations: 8.531 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.365, allocations: 45.45 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3651, allocations: 29.7 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3651, allocations: 3.75 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.3652, allocations: 42.17 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.3653, allocations: 26.67 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.3654, allocations: 34.56 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3656, allocations: 111 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3656, allocations: 3.938 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3656, allocations: 0 / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3656, allocations: 0 / 0.5221 GB, free: 1.551 MB / 382.1 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.0004518/0.3661, allocations: 405 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3661, allocations: 9.594 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3661, allocations: 9.469 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3664, allocations: 211.6 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3664, allocations: 6.391 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3664, allocations: 6.5 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3666, allocations: 53.38 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3666, allocations: 16.72 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3666, allocations: 0 / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3666, allocations: 6.109 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.3667, allocations: 17.69 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.367, allocations: 286.5 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3672, allocations: 56.95 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.3673, allocations: 23.66 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3673, allocations: 0.7031 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.3674, allocations: 70.47 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.043e-06/0.3675, allocations: 3.984 kB / 0.5232 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.368, allocations: 172.1 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.368, allocations: 56.72 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3682, allocations: 187.3 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3682, allocations: 27.61 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.3682, allocations: 103.5 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3683, allocations: 21.05 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3683, allocations: 29.97 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3684, allocations: 325.6 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.3685, allocations: 21.52 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.3686, allocations: 36.12 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3687, allocations: 62.08 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3687, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.3689, allocations: 105.3 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3689, allocations: 5.906 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3689, allocations: 0.7031 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3689, allocations: 3.844 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.369, allocations: 13.89 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.369, allocations: 0.6094 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.3691, allocations: 6.25 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3691, allocations: 2.844 kB / 0.5243 GB, free: 15.55 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.383e-05/0.3692, allocations: 132.4 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.3692, allocations: 13.44 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.3692, allocations: 20.58 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3693, allocations: 0 / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3693, allocations: 0.9688 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3693, allocations: 4.453 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.3697, allocations: 395.2 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3697, allocations: 3.938 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.3698, allocations: 21.33 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3698, allocations: 1.312 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3698, allocations: 6.266 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3698, allocations: 1.438 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3698, allocations: 0.7969 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.37, allocations: 199.7 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3701, allocations: 89.59 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3701, allocations: 7.094 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.3702, allocations: 6.5 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.3702, allocations: 9.828 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3702, allocations: 3.234 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3704, allocations: 145.2 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3704, allocations: 0 / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3706, allocations: 25.08 kB / 0.5254 GB, free: 14.65 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009587/0.3716, allocations: 468.5 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.3718, allocations: 56.39 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3718, allocations: 0 / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.3719, allocations: 37.75 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3722, allocations: 25.64 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3726, allocations: 223.1 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3729, allocations: 0.7041 MB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.3729, allocations: 20.86 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.373, allocations: 20.23 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.373, allocations: 1.469 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004478/0.3775, allocations: 1.707 MB / 0.5286 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches