Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002906/0.002906, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.94 MB / 358.8 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3443, allocations: 65.47 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003341/0.3477, allocations: 1.71 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3495, allocations: 0.9715 MB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.3496, allocations: 0 / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.35, allocations: 83.7 kB / 0.5602 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.3503, allocations: 115.5 kB / 0.5603 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3505, allocations: 79.67 kB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3507, allocations: 115.7 kB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.3508, allocations: 7.938 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.3509, allocations: 63.75 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.351, allocations: 63.75 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.351, allocations: 4 kB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3512, allocations: 47.92 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3512, allocations: 23.92 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.3513, allocations: 31.78 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3515, allocations: 125.8 kB / 0.5609 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3515, allocations: 4 kB / 0.5609 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3515, allocations: 0 / 0.5609 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3515, allocations: 0 / 0.5609 GB, free: 4.012 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005806/0.3521, allocations: 357.5 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3521, allocations: 8.031 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3522, allocations: 24.77 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3524, allocations: 154.3 kB / 0.5614 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3525, allocations: 384 / 0.5614 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.3525, allocations: 12.12 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3526, allocations: 53.67 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3526, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3527, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3527, allocations: 4 kB / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.3527, allocations: 19.98 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.3531, allocations: 248.5 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3533, allocations: 58.67 kB / 0.5618 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.3534, allocations: 20.84 kB / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3534, allocations: 0 / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.3535, allocations: 71.33 kB / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3535, allocations: 0 / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006038/0.3541, allocations: 185.3 kB / 0.562 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3542, allocations: 55.41 kB / 0.5621 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3544, allocations: 227.5 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3544, allocations: 29.7 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.3545, allocations: 108.1 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3546, allocations: 31.77 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3546, allocations: 21.72 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3548, allocations: 330.8 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.3548, allocations: 19.98 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.3549, allocations: 37.64 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3551, allocations: 69.64 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3551, allocations: 0 / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002108/0.3553, allocations: 105.6 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3553, allocations: 8 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3553, allocations: 0 / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3553, allocations: 0 / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.3554, allocations: 15.94 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3554, allocations: 7.984 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3555, allocations: 0 / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3555, allocations: 4 kB / 0.5631 GB, free: 1.574 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 (10): * Single equations (assignments): 10 * 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.000121/0.3556, allocations: 144.9 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3556, allocations: 15.89 kB / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.3559, allocations: 127.1 kB / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3559, allocations: 0 / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3559, allocations: 0 / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3559, allocations: 0 / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3564, allocations: 354.9 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3564, allocations: 0 / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3564, allocations: 12.38 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3564, allocations: 4.031 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3565, allocations: 3.984 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.3565, allocations: 11.94 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3565, allocations: 3.938 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3567, allocations: 216.2 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3568, allocations: 11.91 kB / 0.5639 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3568, allocations: 0 / 0.5639 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.3569, allocations: 7.984 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3569, allocations: 15.92 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3569, allocations: 384 / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.3571, allocations: 173.2 kB / 0.5641 GB, free: 428 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 0.5641 GB, free: 428 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3573, allocations: 27.92 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001837/0.3592, allocations: 491.9 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3594, allocations: 67.91 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3594, allocations: 0 / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.3595, allocations: 27.92 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3599, allocations: 39.69 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.3604, allocations: 247.3 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.3605, allocations: 100.8 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.359e-05/0.3605, allocations: 21.27 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.3606, allocations: 15.44 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3606, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Templates: time 0.005711/0.3663, allocations: 1.939 MB / 0.567 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.303413268178701]