Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001325/0.001325, allocations: 107 kB / 21.18 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.001455/0.001455, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.96 MB / 361.6 MB, free: 4.012 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.88 kB / 0.4974 GB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003992/0.3137, allocations: 2.166 MB / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.3161, allocations: 1.271 MB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3162, allocations: 7.938 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3166, allocations: 139.3 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005845/0.3172, allocations: 266.8 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3176, allocations: 191.5 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.3182, allocations: 474.6 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3184, allocations: 47.92 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.3188, allocations: 339 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.319, allocations: 171.1 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.3191, allocations: 20 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3192, allocations: 79.91 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3194, allocations: 151.4 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3196, allocations: 154.6 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.3202, allocations: 493.2 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3202, allocations: 7.984 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3202, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3202, allocations: 0 / 0.5677 GB, free: 14.18 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001286/0.3215, allocations: 0.8379 MB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3215, allocations: 16.03 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3216, allocations: 72.47 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.3222, allocations: 363.1 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3223, allocations: 12.38 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.3223, allocations: 24.02 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.3227, allocations: 197.5 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3228, allocations: 0 / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3228, allocations: 8 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.3228, allocations: 8 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.3231, allocations: 99.86 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3241, allocations: 0.7466 MB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.3248, allocations: 246.4 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.325, allocations: 91.52 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.325, allocations: 7.938 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.3254, allocations: 208.2 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.3254, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002845/0.3283, allocations: 1.23 MB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.3283, allocations: 136.5 kB / 0.5718 GB, free: 9.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3295, allocations: 0.977 MB / 0.5728 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.3295, allocations: 37.7 kB / 0.5728 GB, free: 8.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3297, allocations: 281 kB / 0.5731 GB, free: 8.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3299, allocations: 142.8 kB / 0.5732 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.33, allocations: 82.08 kB / 0.5733 GB, free: 8.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3301, allocations: 325.9 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3304, allocations: 116.8 kB / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3307, allocations: 195.1 kB / 0.5739 GB, free: 7.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.3313, allocations: 326.8 kB / 0.5742 GB, free: 7.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3313, allocations: 0 / 0.5742 GB, free: 7.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008432/0.3321, allocations: 460.9 kB / 0.5747 GB, free: 6.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3322, allocations: 4 kB / 0.5747 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3322, allocations: 4 kB / 0.5747 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3322, allocations: 4 kB / 0.5747 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.3325, allocations: 87.83 kB / 0.5748 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3325, allocations: 8 kB / 0.5748 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3327, allocations: 23.97 kB / 0.5748 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3327, allocations: 19.94 kB / 0.5748 GB, free: 6.535 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002885/0.333, allocations: 264.1 kB / 0.5751 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3331, allocations: 83.47 kB / 0.5752 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3342, allocations: 0.5386 MB / 0.5757 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3342, allocations: 7.938 kB / 0.5757 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3342, allocations: 0 / 0.5757 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3342, allocations: 4 kB / 0.5757 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3361, allocations: 1.275 MB / 0.5769 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3361, allocations: 0 / 0.5769 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3363, allocations: 63.91 kB / 0.577 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3363, allocations: 4 kB / 0.577 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3363, allocations: 23.98 kB / 0.577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.3363, allocations: 4 kB / 0.577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3363, allocations: 7.938 kB / 0.577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3374, allocations: 0.8359 MB / 0.5779 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3376, allocations: 115.4 kB / 0.578 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.3377, allocations: 16 kB / 0.578 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.338, allocations: 15.98 kB / 0.578 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.3381, allocations: 51.81 kB / 0.578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.3381, allocations: 19.98 kB / 0.5781 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008252/0.339, allocations: 0.7177 MB / 0.5788 GB, free: 2.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.339, allocations: 0 / 0.5788 GB, free: 2.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005741/0.3395, allocations: 91.92 kB / 0.5789 GB, free: 2.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002189/0.3417, allocations: 0.5677 MB / 0.5794 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.3424, allocations: 314.7 kB / 0.5797 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3424, allocations: 0 / 0.5797 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.3428, allocations: 164.9 kB / 0.5799 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.3438, allocations: 141.5 kB / 0.58 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3455, allocations: 1.226 MB / 0.5812 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3459, allocations: 322 kB / 0.5815 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.3461, allocations: 75.25 kB / 0.5816 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3462, allocations: 51.42 kB / 0.5816 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3462, allocations: 8 kB / 0.5816 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Templates: time 0.01272/0.359, allocations: 6.377 MB / 0.5879 GB, free: 9.312 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.110292647994356]