Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 106.5 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 199.2 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.91 MB / 352.1 MB, free: 12.33 MB / 286.1 MB [Timeout remaining time 89] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.89 kB / 495.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3922, allocations: 64.25 MB / 0.5468 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004411/0.3966, allocations: 2.326 MB / 0.5491 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.3993, allocations: 1.287 MB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.3995, allocations: 8.125 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.4002, allocations: 288.1 kB / 0.5506 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.4008, allocations: 266.7 kB / 0.5509 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4019, allocations: 381.7 kB / 0.5513 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.4027, allocations: 0.5105 MB / 0.5518 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4029, allocations: 41.25 kB / 0.5518 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.4032, allocations: 240.1 kB / 0.552 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.4036, allocations: 284 kB / 0.5523 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.4037, allocations: 17.34 kB / 0.5523 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.4038, allocations: 68.78 kB / 0.5524 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.404, allocations: 108.5 kB / 0.5525 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.4042, allocations: 173.8 kB / 0.5526 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.4048, allocations: 391.9 kB / 0.553 GB, free: 8.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4048, allocations: 5.188 kB / 0.553 GB, free: 8.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4048, allocations: 0 / 0.553 GB, free: 8.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4048, allocations: 0 / 0.553 GB, free: 8.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00145/0.4063, allocations: 0.7799 MB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4063, allocations: 8.938 kB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.4064, allocations: 56.94 kB / 0.5538 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.4072, allocations: 404.6 kB / 0.5542 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4072, allocations: 15.09 kB / 0.5542 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.4072, allocations: 24.67 kB / 0.5543 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.4077, allocations: 200.2 kB / 0.5545 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4077, allocations: 1.031 kB / 0.5545 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4077, allocations: 9.359 kB / 0.5545 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4077, allocations: 4.406 kB / 0.5545 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.408, allocations: 94.91 kB / 0.5546 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4091, allocations: 0.8543 MB / 0.5554 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.4097, allocations: 283.9 kB / 0.5557 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.4099, allocations: 85.08 kB / 0.5558 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.41, allocations: 8.516 kB / 0.5558 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/0.4104, allocations: 228.1 kB / 0.556 GB, free: 6.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.023e-06/0.4104, allocations: 0 / 0.556 GB, free: 6.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002342/0.4128, allocations: 1.011 MB / 0.557 GB, free: 5.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.4129, allocations: 158.2 kB / 0.5571 GB, free: 5.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.4137, allocations: 0.6121 MB / 0.5577 GB, free: 4.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.4138, allocations: 37.7 kB / 0.5577 GB, free: 4.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.414, allocations: 225 kB / 0.558 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4141, allocations: 131 kB / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4142, allocations: 66.14 kB / 0.5582 GB, free: 3.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.4144, allocations: 374.8 kB / 0.5585 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.4147, allocations: 96.83 kB / 0.5586 GB, free: 3.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.415, allocations: 184.8 kB / 0.5588 GB, free: 3.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.4155, allocations: 300.8 kB / 0.5591 GB, free: 2.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4155, allocations: 0 / 0.5591 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007674/0.4163, allocations: 400.9 kB / 0.5594 GB, free: 2.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4163, allocations: 8 kB / 0.5595 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4163, allocations: 0 / 0.5595 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.4164, allocations: 7.938 kB / 0.5595 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.4167, allocations: 91.98 kB / 0.5595 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4167, allocations: 8 kB / 0.5596 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.4169, allocations: 21.48 kB / 0.5596 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.4169, allocations: 16 kB / 0.5596 GB, free: 2.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000266/0.4172, allocations: 204.3 kB / 0.5598 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.4173, allocations: 63.56 kB / 0.5598 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.4183, allocations: 461.5 kB / 0.5603 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4183, allocations: 11.94 kB / 0.5603 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4183, allocations: 0 / 0.5603 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4183, allocations: 3.984 kB / 0.5603 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.42, allocations: 1.265 MB / 0.5615 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.42, allocations: 4 kB / 0.5615 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4201, allocations: 47.92 kB / 0.5616 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.4201, allocations: 4 kB / 0.5616 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.4202, allocations: 19.92 kB / 0.5616 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.4202, allocations: 8 kB / 0.5616 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4202, allocations: 4.156 kB / 0.5616 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.4212, allocations: 0.8168 MB / 0.5624 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4213, allocations: 120.8 kB / 0.5625 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.4214, allocations: 19.94 kB / 0.5626 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4217, allocations: 15.98 kB / 0.5626 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.4218, allocations: 43.89 kB / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.4218, allocations: 19.98 kB / 0.5626 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.4224, allocations: 458.8 kB / 0.5631 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 0.5631 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.423, allocations: 87.88 kB / 0.5632 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00188/0.4249, allocations: 487.9 kB / 0.5636 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.4256, allocations: 275.5 kB / 0.5639 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4256, allocations: 0 / 0.5639 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4259, allocations: 145.1 kB / 0.564 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.427, allocations: 145.8 kB / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.4287, allocations: 0.9049 MB / 0.565 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.4292, allocations: 0.8589 MB / 0.5659 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4293, allocations: 55.42 kB / 0.5659 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4293, allocations: 0 / 0.5659 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.0118/0.4411, allocations: 6.356 MB / 0.5721 GB, free: 5.531 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches