Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001461/0.001461, allocations: 188 kB / 18.71 MB, free: 4.387 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.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2122/0.2122, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3901, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003125/0.3933, allocations: 1.732 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3947, allocations: 0.8763 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.3948, allocations: 1.469 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.3952, allocations: 109.2 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3955, allocations: 81.19 kB / 0.5217 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3958, allocations: 110.8 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.396, allocations: 124.6 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3961, allocations: 18.02 kB / 0.522 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3962, allocations: 63.62 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3964, allocations: 69.7 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3964, allocations: 4.438 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3966, allocations: 55.84 kB / 0.5222 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.3966, allocations: 36.47 kB / 0.5222 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.3967, allocations: 44.59 kB / 0.5222 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.397, allocations: 143 kB / 0.5224 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.397, allocations: 1.438 kB / 0.5224 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.397, allocations: 3.938 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.397, allocations: 0 / 0.5224 GB, free: 1.484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000561/0.3976, allocations: 450.1 kB / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3976, allocations: 9.219 kB / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3977, allocations: 16.94 kB / 0.5228 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.398, allocations: 224.8 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.398, allocations: 3.422 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.398, allocations: 10.44 kB / 0.5231 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3982, allocations: 68.98 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3982, allocations: 0 / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3982, allocations: 4.75 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3983, allocations: 0 / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3984, allocations: 34.5 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3988, allocations: 315.6 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3991, allocations: 79.81 kB / 0.5235 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.3992, allocations: 36.88 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3993, allocations: 1.469 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.3995, allocations: 75.44 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.3995, allocations: 0 / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009043/0.4004, allocations: 268.3 kB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4004, allocations: 56.34 kB / 0.524 GB, free: 148 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.4007, allocations: 254 kB / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.4008, allocations: 25.7 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.4008, allocations: 112.6 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.4009, allocations: 37.58 kB / 0.5244 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.4009, allocations: 28.23 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4011, allocations: 324.5 kB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.4012, allocations: 37.38 kB / 0.5247 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4013, allocations: 59.81 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4015, allocations: 89.95 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4015, allocations: 0 / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002546/0.4017, allocations: 141.6 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4018, allocations: 5.375 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4018, allocations: 2.578 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4018, allocations: 0 / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.4019, allocations: 21.92 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4019, allocations: 10.12 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.402, allocations: 7.172 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.402, allocations: 4.547 kB / 0.5251 GB, free: 15.3 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 (14): * Single equations (assignments): 14 * 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 0.0001327/0.4021, allocations: 140.1 kB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4022, allocations: 16.09 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.4022, allocations: 27.56 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4022, allocations: 3.031 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4023, allocations: 3.938 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4023, allocations: 5.359 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.4029, allocations: 479.5 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4029, allocations: 2.031 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4029, allocations: 15.53 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.403, allocations: 1.375 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.403, allocations: 7.781 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.403, allocations: 1.891 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.403, allocations: 0 / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4033, allocations: 258.3 kB / 0.526 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.4034, allocations: 89.7 kB / 0.5261 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4034, allocations: 3.359 kB / 0.5261 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.4035, allocations: 6.688 kB / 0.5261 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.4036, allocations: 12.73 kB / 0.5261 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4036, allocations: 4.688 kB / 0.5261 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4038, allocations: 185.5 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.4038, allocations: 0 / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.4041, allocations: 35.55 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001223/0.4053, allocations: 0.506 MB / 0.5268 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4056, allocations: 87.3 kB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4056, allocations: 4.062 kB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4057, allocations: 51.2 kB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4061, allocations: 41.5 kB / 0.527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.4067, allocations: 304.2 kB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4069, allocations: 0.7277 MB / 0.528 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.407, allocations: 27.09 kB / 0.528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4071, allocations: 20.72 kB / 0.528 GB, free: 13.1 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4071, allocations: 0 / 0.528 GB, free: 13.1 MB / 398.1 MB Notification: Performance of Templates: time 0.005193/0.4123, allocations: 2.122 MB / 0.5301 GB, free: 12.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches