Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001349/0.001349, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001643/0.001643, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2324/0.2324, allocations: 46.95 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.89 kB / 0.4974 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3568, allocations: 66.03 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003403/0.3603, allocations: 1.791 MB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3622, allocations: 1.042 MB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.3622, allocations: 0 / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.3628, allocations: 311.3 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.3633, allocations: 267.1 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3635, allocations: 111.6 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.3638, allocations: 267.3 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.3639, allocations: 5.812 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3641, allocations: 131.5 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3644, allocations: 219.4 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3644, allocations: 4 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.3645, allocations: 47.94 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3647, allocations: 147.5 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3648, allocations: 111 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.3652, allocations: 388.6 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3652, allocations: 4 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3652, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3652, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.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.00107/0.3663, allocations: 0.6825 MB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3664, allocations: 8.031 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.3664, allocations: 52.61 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.3671, allocations: 394.5 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3671, allocations: 8.359 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3671, allocations: 4.125 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.3674, allocations: 95.34 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3674, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3674, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3674, allocations: 4 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3675, allocations: 39.84 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3679, allocations: 310.1 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3682, allocations: 109.1 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3683, allocations: 41.7 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3684, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.3686, allocations: 116.9 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3686, allocations: 0 / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005301/0.3691, allocations: 205.6 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3692, allocations: 89.03 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3704, allocations: 1.058 MB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3704, allocations: 29.69 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3706, allocations: 240.1 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.3707, allocations: 35.72 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3707, allocations: 29.7 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3709, allocations: 370.8 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.371, allocations: 32.11 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3711, allocations: 63.41 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3713, allocations: 95.34 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3713, allocations: 0 / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003289/0.3717, allocations: 177.2 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3717, allocations: 8 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3717, allocations: 0 / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3717, allocations: 0 / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3718, allocations: 31.92 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3718, allocations: 0 / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.3719, allocations: 11.92 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3719, allocations: 4 kB / 0.5707 GB, free: 10.78 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.0002421/0.3722, allocations: 225.8 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3723, allocations: 59.56 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3727, allocations: 202.1 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3727, allocations: 8 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3727, allocations: 0 / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3727, allocations: 0 / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.373, allocations: 269.2 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.373, allocations: 0 / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.373, allocations: 11.94 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.373, allocations: 11.88 kB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3731, allocations: 7.984 kB / 0.5715 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3731, allocations: 0 / 0.5715 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3731, allocations: 4 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.3734, allocations: 221.5 kB / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3736, allocations: 71.53 kB / 0.5718 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.3736, allocations: 0 / 0.5718 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.3737, allocations: 8 kB / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3738, allocations: 11.92 kB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3738, allocations: 11.98 kB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008912/0.3747, allocations: 0.7878 MB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3747, allocations: 4 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.375, allocations: 40 kB / 0.5726 GB, free: 8.781 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.001624/0.3766, allocations: 452.6 kB / 0.5731 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3769, allocations: 83.89 kB / 0.5731 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3769, allocations: 0 / 0.5731 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.377, allocations: 43.91 kB / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3774, allocations: 78.72 kB / 0.5733 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3788, allocations: 0.9418 MB / 0.5742 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3791, allocations: 237.8 kB / 0.5744 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.3791, allocations: 35.42 kB / 0.5744 GB, free: 7.059 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3791, allocations: 0 / 0.5744 GB, free: 7.059 MB / 414.1 MB Notification: Performance of Templates: time 0.008603/0.3877, allocations: 5.337 MB / 0.5797 GB, free: 1.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 8.23638444498647]