Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 216 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.9 MB / 359.4 MB, free: 4.961 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.86 kB / 0.4947 GB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4348, allocations: 65.99 MB / 0.5592 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003177/0.438, allocations: 1.694 MB / 0.5608 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4398, allocations: 1.025 MB / 0.5618 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.4399, allocations: 0 / 0.5618 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.4402, allocations: 67.72 kB / 0.5619 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.4406, allocations: 111.5 kB / 0.562 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.4408, allocations: 63.75 kB / 0.562 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.441, allocations: 115.6 kB / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.441, allocations: 4.234 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4411, allocations: 51.72 kB / 0.5622 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4412, allocations: 51.75 kB / 0.5623 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.4412, allocations: 8 kB / 0.5623 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.4413, allocations: 28 kB / 0.5623 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.4414, allocations: 23.91 kB / 0.5623 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.4414, allocations: 31.8 kB / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.4416, allocations: 109.9 kB / 0.5624 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4416, allocations: 0 / 0.5624 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4416, allocations: 0 / 0.5624 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4417, allocations: 4 kB / 0.5625 GB, free: 1.633 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005915/0.4422, allocations: 414.7 kB / 0.5628 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4423, allocations: 12.03 kB / 0.5629 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.4423, allocations: 12.84 kB / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.4426, allocations: 208.9 kB / 0.5631 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4426, allocations: 384 / 0.5631 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4427, allocations: 4.375 kB / 0.5631 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.4428, allocations: 49.98 kB / 0.5631 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4428, allocations: 3.938 kB / 0.5631 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4428, allocations: 4 kB / 0.5631 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4428, allocations: 4 kB / 0.5631 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.4429, allocations: 19.98 kB / 0.5632 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.4431, allocations: 185.6 kB / 0.5633 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4433, allocations: 50.62 kB / 0.5634 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.4434, allocations: 20.84 kB / 0.5634 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4434, allocations: 0 / 0.5634 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.4435, allocations: 71.27 kB / 0.5635 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.4435, allocations: 0 / 0.5635 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003012/0.4438, allocations: 93.62 kB / 0.5636 GB, free: 340 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.4439, allocations: 55.39 kB / 0.5636 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.4441, allocations: 190.4 kB / 0.5638 GB, free: 72 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4441, allocations: 33.69 kB / 0.5638 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.4442, allocations: 96.14 kB / 0.5639 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.4442, allocations: 19.89 kB / 0.5639 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.4443, allocations: 25.66 kB / 0.564 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4444, allocations: 318.8 kB / 0.5643 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.4445, allocations: 15.94 kB / 0.5643 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.4445, allocations: 33.7 kB / 0.5643 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4447, allocations: 37.7 kB / 0.5643 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4447, allocations: 4 kB / 0.5643 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.4448, allocations: 93.47 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4448, allocations: 4 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4448, allocations: 160 / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4449, allocations: 7.938 kB / 0.5644 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.4449, allocations: 15.97 kB / 0.5645 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4449, allocations: 3.984 kB / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.445, allocations: 7.938 kB / 0.5645 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.445, allocations: 0 / 0.5645 GB, free: 15.32 MB / 414.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.0001099/0.4451, allocations: 129.8 kB / 0.5646 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4451, allocations: 15.89 kB / 0.5646 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.4453, allocations: 90.98 kB / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4453, allocations: 0 / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4454, allocations: 0 / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4454, allocations: 0 / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4455, allocations: 189.6 kB / 0.5649 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4455, allocations: 0 / 0.5649 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.4456, allocations: 11.94 kB / 0.5649 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4456, allocations: 4 kB / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4456, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4456, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4456, allocations: 4 kB / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4458, allocations: 105 kB / 0.565 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.4458, allocations: 89 kB / 0.5651 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4459, allocations: 7.984 kB / 0.5651 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.4459, allocations: 0 / 0.5651 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4459, allocations: 8 kB / 0.5651 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4459, allocations: 0 / 0.5651 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.4461, allocations: 152.2 kB / 0.5652 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 0.5652 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.4463, allocations: 20 kB / 0.5653 GB, free: 14.41 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001542/0.4478, allocations: 417.4 kB / 0.5657 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.448, allocations: 35.92 kB / 0.5657 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.448, allocations: 4.062 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.4481, allocations: 16 kB / 0.5657 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4484, allocations: 43.72 kB / 0.5658 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.4489, allocations: 217.9 kB / 0.566 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4493, allocations: 0.6971 MB / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.4493, allocations: 20.41 kB / 0.5667 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4494, allocations: 19.38 kB / 0.5667 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4494, allocations: 0 / 0.5667 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Templates: time 0.004681/0.4541, allocations: 1.511 MB / 0.5682 GB, free: 11.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.502750290557742]