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.001092/0.001092, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001175/0.001175, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.326/1.326, 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.2022/0.2022, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 64.09 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.398, allocations: 60.82 MB / 0.519 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003401/0.4015, allocations: 1.908 MB / 0.5209 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.403, allocations: 0.9788 MB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.4031, allocations: 14.25 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.4036, allocations: 153.5 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.404, allocations: 136.6 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.4044, allocations: 184 kB / 0.5223 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.4047, allocations: 225.9 kB / 0.5225 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4049, allocations: 30.09 kB / 0.5225 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.405, allocations: 109.8 kB / 0.5226 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.4052, allocations: 122.7 kB / 0.5227 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.4053, allocations: 8.344 kB / 0.5228 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.4054, allocations: 62.5 kB / 0.5228 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.4055, allocations: 49.88 kB / 0.5229 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.4056, allocations: 84.3 kB / 0.5229 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.4059, allocations: 216.3 kB / 0.5231 GB, free: 1.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.406, allocations: 1.188 kB / 0.5231 GB, free: 1.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.406, allocations: 0 / 0.5231 GB, free: 1.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.406, allocations: 0 / 0.5231 GB, free: 1.074 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.0006775/0.4067, allocations: 0.5352 MB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4067, allocations: 9.688 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.4068, allocations: 24.67 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.4071, allocations: 271 kB / 0.524 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4071, allocations: 7.891 kB / 0.524 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.4071, allocations: 18.83 kB / 0.524 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.4074, allocations: 111 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4074, allocations: 0 / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4074, allocations: 2.172 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4074, allocations: 2.062 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4076, allocations: 50.27 kB / 0.5241 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.4082, allocations: 459.9 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.4085, allocations: 123.6 kB / 0.5247 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4086, allocations: 46.31 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.4087, allocations: 2.312 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.4089, allocations: 120 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4089, allocations: 1.594 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001269/0.4102, allocations: 0.4898 MB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4103, allocations: 79.45 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.4107, allocations: 354.9 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4107, allocations: 30.95 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4108, allocations: 143.2 kB / 0.5259 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.4109, allocations: 69.48 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.411, allocations: 48.83 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4111, allocations: 340.3 kB / 0.5264 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4113, allocations: 55.23 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4114, allocations: 97.61 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.4117, allocations: 167 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4117, allocations: 5.562 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003927/0.4121, allocations: 234 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4121, allocations: 9.438 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4122, allocations: 1.375 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4122, allocations: 1.375 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4123, allocations: 44.17 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4123, allocations: 6.812 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.4124, allocations: 10 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.4124, allocations: 7.438 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.0001471/0.4126, allocations: 152.2 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.4126, allocations: 32.69 kB / 0.5271 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.4127, allocations: 35.77 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4127, allocations: 6.688 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4127, allocations: 2.078 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4127, allocations: 1.219 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/0.4136, allocations: 0.7196 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4136, allocations: 1.375 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.4137, allocations: 32.52 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4137, allocations: 2.312 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4137, allocations: 12.44 kB / 0.5279 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4137, allocations: 2.625 kB / 0.5279 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4138, allocations: 5.344 kB / 0.5279 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.4142, allocations: 428 kB / 0.5284 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.4143, allocations: 101 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.4143, allocations: 11.27 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4145, allocations: 8.812 kB / 0.5285 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4145, allocations: 24.09 kB / 0.5285 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.4146, allocations: 12.88 kB / 0.5285 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000284/0.4148, allocations: 262.3 kB / 0.5288 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4149, allocations: 4 kB / 0.5288 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.4152, allocations: 51.23 kB / 0.5288 GB, free: 12.82 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.001212/0.4164, allocations: 0.5167 MB / 0.5293 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.4168, allocations: 167 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4168, allocations: 0 / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.417, allocations: 84.22 kB / 0.5296 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.4175, allocations: 54.97 kB / 0.5296 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.4183, allocations: 485.5 kB / 0.5301 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4187, allocations: 0.7697 MB / 0.5308 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4188, allocations: 39.73 kB / 0.5309 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.4189, allocations: 29.91 kB / 0.5309 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4189, allocations: 0 / 0.5309 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Templates: time 0.007069/0.4259, allocations: 3.102 MB / 0.5339 GB, free: 9.789 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