Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001836/0.001836, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002223/0.002223, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2484/0.2484, allocations: 46.98 MB / 361.6 MB, free: 4.023 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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 66.04 MB / 0.5619 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003906/0.3233, allocations: 2.168 MB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3257, allocations: 1.261 MB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3259, allocations: 3.938 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.3263, allocations: 127.3 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.3269, allocations: 246.9 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3273, allocations: 199.5 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.3278, allocations: 466.6 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.328, allocations: 48.91 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.3284, allocations: 307 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3286, allocations: 163.2 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.3286, allocations: 16 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3288, allocations: 75.98 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.329, allocations: 143.4 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3291, allocations: 134.9 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.3297, allocations: 456.4 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3297, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3297, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3297, allocations: 0 / 0.5675 GB, free: 14.32 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.001145/0.3308, allocations: 0.7683 MB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3309, allocations: 8.031 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.331, allocations: 68.52 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.3316, allocations: 343.2 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3316, allocations: 12.31 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.3316, allocations: 28.06 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.332, allocations: 193.5 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3321, allocations: 7.922 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3321, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3321, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3323, allocations: 103.9 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.3333, allocations: 0.727 MB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.334, allocations: 246.5 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3342, allocations: 83.52 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3342, allocations: 4 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004076/0.3346, allocations: 208.4 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3346, allocations: 0 / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002692/0.3373, allocations: 1.16 MB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.3374, allocations: 136.5 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.3383, allocations: 0.8203 MB / 0.5723 GB, free: 9.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3384, allocations: 37.7 kB / 0.5723 GB, free: 9.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3386, allocations: 245 kB / 0.5726 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3387, allocations: 146.8 kB / 0.5727 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3388, allocations: 78.08 kB / 0.5728 GB, free: 8.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.339, allocations: 382.6 kB / 0.5732 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.3393, allocations: 124.8 kB / 0.5733 GB, free: 8.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3396, allocations: 187.2 kB / 0.5735 GB, free: 7.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.3401, allocations: 330.6 kB / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3401, allocations: 0 / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008329/0.341, allocations: 456.8 kB / 0.5742 GB, free: 7.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.341, allocations: 8.125 kB / 0.5742 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.341, allocations: 4 kB / 0.5742 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.341, allocations: 4 kB / 0.5742 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.3413, allocations: 83.89 kB / 0.5743 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3413, allocations: 4 kB / 0.5743 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3415, allocations: 19.98 kB / 0.5743 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.3415, allocations: 19.94 kB / 0.5743 GB, free: 7.02 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.0002901/0.3418, allocations: 236 kB / 0.5746 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.3419, allocations: 71.53 kB / 0.5746 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.343, allocations: 0.534 MB / 0.5752 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.343, allocations: 8 kB / 0.5752 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.343, allocations: 0 / 0.5752 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.343, allocations: 3.984 kB / 0.5752 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3448, allocations: 1.252 MB / 0.5764 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3448, allocations: 4 kB / 0.5764 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.345, allocations: 63.91 kB / 0.5765 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.345, allocations: 4 kB / 0.5765 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.345, allocations: 16 kB / 0.5765 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.345, allocations: 15.92 kB / 0.5765 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.345, allocations: 0 / 0.5765 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/0.346, allocations: 0.832 MB / 0.5773 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.3462, allocations: 103.5 kB / 0.5774 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.3463, allocations: 12 kB / 0.5774 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.3466, allocations: 19.98 kB / 0.5774 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.3467, allocations: 47.81 kB / 0.5775 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.3467, allocations: 23.98 kB / 0.5775 GB, free: 3.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006791/0.3474, allocations: 0.5928 MB / 0.5781 GB, free: 3.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3474, allocations: 0 / 0.5781 GB, free: 3.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005469/0.3479, allocations: 87.94 kB / 0.5782 GB, free: 2.973 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.002185/0.3501, allocations: 0.5771 MB / 0.5787 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.3508, allocations: 314.6 kB / 0.579 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3509, allocations: 4 kB / 0.579 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.3512, allocations: 160.3 kB / 0.5792 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.3521, allocations: 139.6 kB / 0.5793 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3537, allocations: 1.073 MB / 0.5804 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3541, allocations: 285 kB / 0.5806 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.3542, allocations: 87.23 kB / 0.5807 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3544, allocations: 59.41 kB / 0.5808 GB, free: 476 kB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3544, allocations: 4 kB / 0.5808 GB, free: 472 kB / 414.1 MB Notification: Performance of Templates: time 0.01213/0.3665, allocations: 6.261 MB / 0.5869 GB, free: 10.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.15545890199428]