Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001836/0.001836, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002349/0.002349, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.228/0.228, allocations: 46.94 MB / 361.5 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 83.86 kB / 0.4974 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3692, allocations: 66.08 MB / 0.562 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003566/0.3728, allocations: 1.788 MB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3757, allocations: 1.737 MB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.3758, allocations: 3.938 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3761, allocations: 55.67 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.3765, allocations: 135.4 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3768, allocations: 111.6 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.3771, allocations: 207.4 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.3771, allocations: 9.797 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3773, allocations: 79.56 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3775, allocations: 79.61 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3775, allocations: 8 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.3777, allocations: 115.9 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.3778, allocations: 39.83 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.3779, allocations: 51.67 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3782, allocations: 229.4 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3782, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3782, allocations: 4 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3782, allocations: 0 / 0.5665 GB, free: 15.27 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.0007495/0.379, allocations: 428.9 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.379, allocations: 8.031 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.3791, allocations: 20.84 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.3795, allocations: 190.2 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3795, allocations: 384 / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3796, allocations: 8.359 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.3799, allocations: 156.8 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3799, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3799, allocations: 4 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3799, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.38, allocations: 39.91 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.3803, allocations: 162.2 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3805, allocations: 113.2 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.3806, allocations: 37.7 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3807, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.3809, allocations: 109 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3809, allocations: 0 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004835/0.3814, allocations: 185.4 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3815, allocations: 140.4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3818, allocations: 242.3 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3818, allocations: 29.7 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.3819, allocations: 116.1 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.3819, allocations: 31.8 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.382, allocations: 21.72 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3822, allocations: 334.8 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.3822, allocations: 31.98 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3824, allocations: 125 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.3826, allocations: 103.4 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3826, allocations: 0 / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002968/0.3829, allocations: 133.5 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3829, allocations: 7.938 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3829, allocations: 4 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3829, allocations: 3.984 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3831, allocations: 27.94 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3831, allocations: 8 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.3831, allocations: 15.88 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3832, allocations: 4 kB / 0.5692 GB, free: 12.21 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001308/0.3833, allocations: 129.8 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3833, allocations: 23.84 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.3837, allocations: 166.6 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3837, allocations: 4 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3837, allocations: 0 / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3837, allocations: 4 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.3839, allocations: 165.4 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3839, allocations: 4 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3839, allocations: 11.94 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3839, allocations: 4 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.384, allocations: 7.938 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.384, allocations: 0 / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.384, allocations: 7.984 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3843, allocations: 177.8 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.3843, allocations: 23.84 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.3844, allocations: 11.94 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3844, allocations: 11.92 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3845, allocations: 15.92 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3845, allocations: 4 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3847, allocations: 180.5 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3847, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.385, allocations: 59.86 kB / 0.5702 GB, free: 11.14 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002043/0.387, allocations: 0.5216 MB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.3873, allocations: 83.89 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3873, allocations: 4.125 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3874, allocations: 43.92 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3878, allocations: 56.44 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.3885, allocations: 317.3 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3886, allocations: 115.4 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.3887, allocations: 27.42 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3887, allocations: 0 / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Templates: time 0.005728/0.3944, allocations: 3.232 MB / 0.5744 GB, free: 6.887 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.384482177440077]