Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 113.6 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.359/0.359, allocations: 44.13 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 56.16 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3181, allocations: 60.81 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.005314/0.3235, allocations: 1.939 MB / 0.5083 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.326, allocations: 0.9748 MB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3261, allocations: 9.344 kB / 0.5093 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.3268, allocations: 218.9 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.3274, allocations: 153.5 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.3281, allocations: 161.1 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.3285, allocations: 230.3 kB / 0.51 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3287, allocations: 27.48 kB / 0.51 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.3289, allocations: 106.5 kB / 0.5101 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3292, allocations: 144.6 kB / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.3292, allocations: 11.22 kB / 0.5103 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.3294, allocations: 65.97 kB / 0.5103 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3296, allocations: 49.97 kB / 0.5104 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3297, allocations: 86.2 kB / 0.5104 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.33, allocations: 228.2 kB / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3301, allocations: 0 / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3301, allocations: 0 / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3301, allocations: 0 / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009489/0.3311, allocations: 0.549 MB / 0.5112 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3311, allocations: 8.531 kB / 0.5112 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.3312, allocations: 34.84 kB / 0.5112 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.3316, allocations: 274.8 kB / 0.5115 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3316, allocations: 10.67 kB / 0.5115 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3317, allocations: 9.969 kB / 0.5115 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.332, allocations: 113.5 kB / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.332, allocations: 2.906 kB / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3321, allocations: 0 / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3321, allocations: 3.094 kB / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.3324, allocations: 52.8 kB / 0.5117 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.333, allocations: 466.6 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.3336, allocations: 133.4 kB / 0.5123 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3338, allocations: 40.7 kB / 0.5123 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3338, allocations: 0 / 0.5123 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.3342, allocations: 127.8 kB / 0.5124 GB, free: 34.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.325e-06/0.3342, allocations: 2.656 kB / 0.5124 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001936/0.3362, allocations: 0.4916 MB / 0.5129 GB, free: 33.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3362, allocations: 83.22 kB / 0.513 GB, free: 33.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.3368, allocations: 425.4 kB / 0.5134 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3368, allocations: 36.14 kB / 0.5134 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.3369, allocations: 153.3 kB / 0.5136 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.337, allocations: 77.42 kB / 0.5136 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.3371, allocations: 43.5 kB / 0.5137 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.3372, allocations: 341.2 kB / 0.514 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.3374, allocations: 59.44 kB / 0.5141 GB, free: 33.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3377, allocations: 94.12 kB / 0.5142 GB, free: 32.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.3381, allocations: 163.5 kB / 0.5143 GB, free: 32.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3381, allocations: 0 / 0.5143 GB, free: 32.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006584/0.3388, allocations: 227.5 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3388, allocations: 9.938 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3389, allocations: 4.969 kB / 0.5145 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3389, allocations: 5.781 kB / 0.5146 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.3391, allocations: 45.48 kB / 0.5146 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3392, allocations: 3.844 kB / 0.5146 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3393, allocations: 6.969 kB / 0.5146 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3394, allocations: 13.36 kB / 0.5146 GB, free: 32.75 MB / 378.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001748/0.3395, allocations: 168.6 kB / 0.5148 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.3396, allocations: 33.81 kB / 0.5148 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.3397, allocations: 39.98 kB / 0.5148 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3398, allocations: 6.875 kB / 0.5149 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3398, allocations: 2.906 kB / 0.5149 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3398, allocations: 0 / 0.5149 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.341, allocations: 0.735 MB / 0.5156 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.341, allocations: 2.719 kB / 0.5156 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3412, allocations: 25.3 kB / 0.5156 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3412, allocations: 2.156 kB / 0.5156 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3412, allocations: 12.34 kB / 0.5156 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3413, allocations: 6.172 kB / 0.5156 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3413, allocations: 1.344 kB / 0.5156 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3423, allocations: 1.062 MB / 0.5167 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3424, allocations: 109.2 kB / 0.5168 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.3425, allocations: 11.62 kB / 0.5168 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3428, allocations: 12.34 kB / 0.5168 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.3428, allocations: 23.09 kB / 0.5168 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.3429, allocations: 12.31 kB / 0.5168 GB, free: 30.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003855/0.3433, allocations: 320.1 kB / 0.5171 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3433, allocations: 0 / 0.5171 GB, free: 30.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008268/0.3441, allocations: 46.34 kB / 0.5172 GB, free: 30.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.001701/0.3459, allocations: 0.5279 MB / 0.5177 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.3464, allocations: 158.8 kB / 0.5178 GB, free: 30.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3464, allocations: 0 / 0.5178 GB, free: 30.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.3466, allocations: 77.16 kB / 0.5179 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.3475, allocations: 61.92 kB / 0.518 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3488, allocations: 0.7822 MB / 0.5187 GB, free: 29.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3491, allocations: 0.7821 MB / 0.5195 GB, free: 29.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.3493, allocations: 39.77 kB / 0.5195 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.3494, allocations: 26.97 kB / 0.5196 GB, free: 29.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3494, allocations: 3.938 kB / 0.5196 GB, free: 29.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01058/0.36, allocations: 3.063 MB / 0.5226 GB, free: 28.86 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches