Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 105.3 kB / 18.45 MB, free: 4.625 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.001012/0.001012, allocations: 181.1 kB / 19.37 MB, free: 3.707 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 / 243.1 MB, free: 15.05 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.2253/0.2253, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3916, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003508/0.3952, allocations: 1.67 MB / 0.5213 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3967, allocations: 0.8558 MB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.3968, allocations: 9.156 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.3972, allocations: 49.42 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.3975, allocations: 56.45 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3978, allocations: 107.3 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.398, allocations: 93.56 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.398, allocations: 13.14 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.3981, allocations: 40.14 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.3982, allocations: 24.75 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3982, allocations: 3.406 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.3983, allocations: 30.22 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.3984, allocations: 27.27 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.3984, allocations: 42.09 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3987, allocations: 118 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3987, allocations: 4 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3987, allocations: 0 / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3987, allocations: 5.062 kB / 0.5227 GB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005048/0.3992, allocations: 423.3 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3993, allocations: 8.656 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.3993, allocations: 15.3 kB / 0.5231 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3996, allocations: 217.5 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3996, allocations: 2.344 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3996, allocations: 10.19 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3997, allocations: 49.67 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3998, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3998, allocations: 1.562 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3998, allocations: 1.281 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.3999, allocations: 15.19 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.4, allocations: 185 kB / 0.5236 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4002, allocations: 61.19 kB / 0.5236 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.4002, allocations: 22.61 kB / 0.5237 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4003, allocations: 1.938 kB / 0.5237 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.4004, allocations: 61.02 kB / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.4004, allocations: 0 / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002667/0.4007, allocations: 105.2 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4007, allocations: 56.53 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.401, allocations: 262.2 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.401, allocations: 31.67 kB / 0.5242 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.401, allocations: 113.9 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.4011, allocations: 7.75 kB / 0.5243 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.4011, allocations: 20.75 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4012, allocations: 328.3 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.4013, allocations: 12.8 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.4013, allocations: 30.78 kB / 0.5246 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.4014, allocations: 46.77 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4015, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.4016, allocations: 85.89 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4016, allocations: 5.531 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4017, allocations: 0 / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4017, allocations: 5.984 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.4018, allocations: 15.2 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4018, allocations: 4.141 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.4018, allocations: 12.62 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4018, allocations: 2.469 kB / 0.5248 GB, free: 15.69 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 (7): * Single equations (assignments): 7 * 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.0001079/0.402, allocations: 135.2 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.402, allocations: 15.34 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.402, allocations: 17.53 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.402, allocations: 1.906 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4021, allocations: 4 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4021, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.4022, allocations: 201.8 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4022, allocations: 1.062 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.4023, allocations: 7.062 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4023, allocations: 1.641 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.4023, allocations: 1.719 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4023, allocations: 0 / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4023, allocations: 1.266 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4025, allocations: 122.2 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.4026, allocations: 88.59 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.4026, allocations: 2.078 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.4026, allocations: 2.766 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4027, allocations: 4.469 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4027, allocations: 6.141 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4029, allocations: 199.7 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4029, allocations: 3.938 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.4031, allocations: 23.34 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009017/0.404, allocations: 406.4 kB / 0.526 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.4042, allocations: 44.16 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4042, allocations: 0 / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.4043, allocations: 18 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.4045, allocations: 27.73 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.405, allocations: 282.6 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4053, allocations: 0.7219 MB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.4054, allocations: 14.53 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4054, allocations: 0 / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.003845/0.4092, allocations: 1.837 MB / 0.5289 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches