Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.00144/0.00144, allocations: 185 kB / 18.71 MB, free: 4.34 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.603/1.603, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2148/0.2148, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.84 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3983, allocations: 60.81 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003654/0.402, allocations: 1.9 MB / 0.5208 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.4038, allocations: 0.9827 MB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.4039, allocations: 9.25 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.4044, allocations: 154.5 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.4048, allocations: 140.9 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.4052, allocations: 184.5 kB / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.4055, allocations: 229.6 kB / 0.5225 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4056, allocations: 22.5 kB / 0.5225 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.4058, allocations: 110.8 kB / 0.5226 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.406, allocations: 131.3 kB / 0.5227 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.406, allocations: 8.781 kB / 0.5228 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.4061, allocations: 65.41 kB / 0.5228 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.4062, allocations: 43.25 kB / 0.5229 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.4063, allocations: 84.36 kB / 0.5229 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.4067, allocations: 211.5 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4067, allocations: 0.5625 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4067, allocations: 5 kB / 0.5231 GB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4067, allocations: 0 / 0.5231 GB, free: 1.055 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006898/0.4074, allocations: 0.5213 MB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4074, allocations: 14.08 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.4075, allocations: 24.25 kB / 0.5237 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4078, allocations: 266.9 kB / 0.5239 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4078, allocations: 9.328 kB / 0.524 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.4079, allocations: 9.25 kB / 0.524 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.4081, allocations: 118.5 kB / 0.5241 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4081, allocations: 1.828 kB / 0.5241 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4082, allocations: 6.344 kB / 0.5241 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4082, allocations: 1.406 kB / 0.5241 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.4083, allocations: 45.31 kB / 0.5241 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.4089, allocations: 467.2 kB / 0.5246 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.4094, allocations: 120.3 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4095, allocations: 51.44 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4095, allocations: 5.938 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.4097, allocations: 111.8 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4097, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001346/0.4111, allocations: 494.8 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4112, allocations: 88.14 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.4116, allocations: 349.4 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.4116, allocations: 33.06 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.4117, allocations: 142.2 kB / 0.5259 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.4118, allocations: 72.88 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.4118, allocations: 40.36 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.412, allocations: 340.5 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4121, allocations: 59.95 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4123, allocations: 105.6 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.4125, allocations: 158.2 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4126, allocations: 1.531 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003902/0.4129, allocations: 233.3 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.413, allocations: 9.438 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.413, allocations: 1.906 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.413, allocations: 2.75 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4131, allocations: 43.69 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4132, allocations: 5.828 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.4132, allocations: 5.625 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4133, allocations: 11.53 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001423/0.4134, allocations: 156.8 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4135, allocations: 28.03 kB / 0.5271 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.4135, allocations: 36.09 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4136, allocations: 2.75 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4136, allocations: 2.078 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4136, allocations: 0.6094 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.4144, allocations: 0.7162 MB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4145, allocations: 1.375 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.4145, allocations: 34.95 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4146, allocations: 2.719 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.4146, allocations: 12.11 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4146, allocations: 7.469 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4146, allocations: 5.266 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.4151, allocations: 424.1 kB / 0.5283 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.4151, allocations: 99.53 kB / 0.5284 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.4152, allocations: 12.12 kB / 0.5284 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4153, allocations: 4.062 kB / 0.5284 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.4154, allocations: 30.06 kB / 0.5285 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.4155, allocations: 7.281 kB / 0.5285 GB, free: 13.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.4157, allocations: 266.3 kB / 0.5287 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 0.5287 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.4161, allocations: 50.42 kB / 0.5288 GB, free: 12.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00134/0.4175, allocations: 0.512 MB / 0.5293 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.4179, allocations: 158.2 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.418, allocations: 0 / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.4182, allocations: 82.91 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.4188, allocations: 67.31 kB / 0.5296 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4199, allocations: 485.5 kB / 0.53 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.4203, allocations: 0.764 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.4205, allocations: 40.84 kB / 0.5308 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.4206, allocations: 34.08 kB / 0.5309 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4206, allocations: 0 / 0.5309 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Templates: time 0.006854/0.4274, allocations: 3.097 MB / 0.5339 GB, free: 9.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches