Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001511/0.001511, 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.001875/0.001875, allocations: 213.5 kB / 22.99 MB, free: 5.605 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.533/1.533, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2495/0.2495, allocations: 46.91 MB / 359.4 MB, free: 4.855 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 75.88 kB / 0.4947 GB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4637, allocations: 65.99 MB / 0.5591 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003723/0.4674, allocations: 1.844 MB / 0.5609 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.4695, allocations: 1.119 MB / 0.562 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.4696, allocations: 0 / 0.562 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.4702, allocations: 303.3 kB / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.4707, allocations: 263.2 kB / 0.5626 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.471, allocations: 103.6 kB / 0.5627 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.4714, allocations: 267.3 kB / 0.5629 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.4714, allocations: 5.688 kB / 0.5629 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.4716, allocations: 131.5 kB / 0.5631 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.4719, allocations: 223.4 kB / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.472, allocations: 8 kB / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4721, allocations: 47.92 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4723, allocations: 139.6 kB / 0.5635 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.4724, allocations: 154.8 kB / 0.5636 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.4729, allocations: 380.5 kB / 0.564 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4729, allocations: 0 / 0.564 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4729, allocations: 3.984 kB / 0.564 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4729, allocations: 0 / 0.564 GB, free: 48 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00115/0.4741, allocations: 0.7606 MB / 0.5647 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4741, allocations: 11.97 kB / 0.5647 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.4742, allocations: 52.61 kB / 0.5648 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/0.475, allocations: 460.3 kB / 0.5652 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.475, allocations: 4.375 kB / 0.5652 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.475, allocations: 4.375 kB / 0.5652 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.4753, allocations: 99.55 kB / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4753, allocations: 7.984 kB / 0.5653 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4753, allocations: 8 kB / 0.5653 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4753, allocations: 0 / 0.5653 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4754, allocations: 27.97 kB / 0.5654 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.4759, allocations: 382.3 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.4762, allocations: 101.2 kB / 0.5658 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4763, allocations: 37.7 kB / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4763, allocations: 0 / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.4766, allocations: 116.9 kB / 0.566 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4766, allocations: 0 / 0.566 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005154/0.4771, allocations: 197.2 kB / 0.5662 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.4772, allocations: 81.11 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4784, allocations: 1.05 MB / 0.5673 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4784, allocations: 33.7 kB / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.4786, allocations: 236.1 kB / 0.5675 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.4787, allocations: 27.75 kB / 0.5675 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.4788, allocations: 37.7 kB / 0.5676 GB, free: 12.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4789, allocations: 362.8 kB / 0.5679 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.479, allocations: 27.98 kB / 0.568 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4792, allocations: 70.59 kB / 0.568 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.4794, allocations: 91.36 kB / 0.5681 GB, free: 11.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4794, allocations: 0 / 0.5681 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.4797, allocations: 173.8 kB / 0.5683 GB, free: 11.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4797, allocations: 8 kB / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.4797, allocations: 4 kB / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4797, allocations: 4 kB / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4798, allocations: 19.98 kB / 0.5683 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4799, allocations: 8 kB / 0.5683 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.4799, allocations: 8 kB / 0.5683 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.48, allocations: 4 kB / 0.5683 GB, free: 11.3 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002401/0.4802, allocations: 230.5 kB / 0.5685 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.4803, allocations: 59.56 kB / 0.5686 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.4807, allocations: 193.7 kB / 0.5688 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4807, allocations: 4 kB / 0.5688 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4807, allocations: 4 kB / 0.5688 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4807, allocations: 7.922 kB / 0.5688 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.4811, allocations: 349.4 kB / 0.5691 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4811, allocations: 0 / 0.5691 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.4812, allocations: 11.94 kB / 0.5692 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4812, allocations: 4 kB / 0.5692 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4812, allocations: 3.984 kB / 0.5692 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4812, allocations: 4 kB / 0.5692 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4812, allocations: 3.938 kB / 0.5692 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.4816, allocations: 209.6 kB / 0.5694 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.4817, allocations: 144.7 kB / 0.5695 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.4818, allocations: 4 kB / 0.5695 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.4818, allocations: 7.984 kB / 0.5695 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.4819, allocations: 15.97 kB / 0.5695 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4819, allocations: 8.125 kB / 0.5695 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009347/0.4829, allocations: 0.7878 MB / 0.5703 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4829, allocations: 0 / 0.5703 GB, free: 9.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.4831, allocations: 43.94 kB / 0.5703 GB, free: 9.121 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001571/0.4847, allocations: 407.8 kB / 0.5707 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.485, allocations: 83.89 kB / 0.5708 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.485, allocations: 0 / 0.5708 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4851, allocations: 40.05 kB / 0.5709 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4856, allocations: 81.31 kB / 0.5709 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4871, allocations: 0.9089 MB / 0.5718 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.4877, allocations: 0.843 MB / 0.5726 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.4878, allocations: 66.88 kB / 0.5727 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.4879, allocations: 31.42 kB / 0.5727 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4879, allocations: 0 / 0.5727 GB, free: 6.758 MB / 414.1 MB Notification: Performance of Templates: time 0.009364/0.4973, allocations: 3.868 MB / 0.5765 GB, free: 2.906 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.519104495644569]