Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 96.66 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3897/0.3897, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.88 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3314, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002669/0.3342, allocations: 1.886 MB / 0.517 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3362, allocations: 1.696 MB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.3363, allocations: 6.812 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.3367, allocations: 51.39 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.337, allocations: 114.5 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3374, allocations: 151.6 kB / 0.519 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3376, allocations: 191 kB / 0.5192 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.3376, allocations: 18.42 kB / 0.5192 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3377, allocations: 78.19 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3379, allocations: 86.45 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3379, allocations: 6.219 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3381, allocations: 100.2 kB / 0.5194 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.3382, allocations: 38.94 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.3382, allocations: 67.98 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3385, allocations: 216.2 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3385, allocations: 0 / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3385, allocations: 0 / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3385, allocations: 0 / 0.5197 GB, free: 34.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006427/0.3392, allocations: 0.49 MB / 0.5202 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3392, allocations: 7.969 kB / 0.5202 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.3393, allocations: 22.38 kB / 0.5202 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3396, allocations: 258.5 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3396, allocations: 2.906 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3396, allocations: 9.828 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3398, allocations: 101.1 kB / 0.5206 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3399, allocations: 0 / 0.5206 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3399, allocations: 2 kB / 0.5206 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3399, allocations: 0 / 0.5206 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.34, allocations: 31.62 kB / 0.5206 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.3402, allocations: 226.7 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3405, allocations: 101.9 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.3405, allocations: 42.06 kB / 0.521 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3406, allocations: 0 / 0.521 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3408, allocations: 120.5 kB / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3409, allocations: 0 / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003896/0.3413, allocations: 162.3 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3413, allocations: 131.2 kB / 0.5214 GB, free: 33.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3415, allocations: 233.8 kB / 0.5216 GB, free: 33.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3415, allocations: 35.94 kB / 0.5216 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.3416, allocations: 120.3 kB / 0.5218 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3416, allocations: 22.5 kB / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3417, allocations: 29.09 kB / 0.5218 GB, free: 33.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.3417, allocations: 332.4 kB / 0.5221 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.3418, allocations: 27.34 kB / 0.5221 GB, free: 32.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.3419, allocations: 77.64 kB / 0.5222 GB, free: 32.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3421, allocations: 96.14 kB / 0.5223 GB, free: 32.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3421, allocations: 0.5 kB / 0.5223 GB, free: 32.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002118/0.3423, allocations: 143.8 kB / 0.5224 GB, free: 32.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3423, allocations: 5.938 kB / 0.5225 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3423, allocations: 64 / 0.5225 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3423, allocations: 6.719 kB / 0.5225 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3425, allocations: 20.56 kB / 0.5225 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3425, allocations: 3.938 kB / 0.5225 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.3426, allocations: 13.81 kB / 0.5225 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3426, allocations: 7.719 kB / 0.5225 GB, free: 32.47 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_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 8.833e-05/0.3427, allocations: 129.9 kB / 0.5226 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3427, allocations: 16.59 kB / 0.5226 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3427, allocations: 22.22 kB / 0.5227 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3428, allocations: 6.812 kB / 0.5227 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3428, allocations: 0 / 0.5227 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3428, allocations: 0 / 0.5227 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3429, allocations: 230.5 kB / 0.5229 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.343, allocations: 3.984 kB / 0.5229 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.343, allocations: 11.59 kB / 0.5229 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.343, allocations: 3.938 kB / 0.5229 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.343, allocations: 2.656 kB / 0.5229 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.343, allocations: 0 / 0.5229 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.343, allocations: 0 / 0.5229 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.3436, allocations: 0.7754 MB / 0.5237 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3436, allocations: 98 kB / 0.5238 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3437, allocations: 6.375 kB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.3437, allocations: 5.875 kB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3438, allocations: 17.17 kB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3438, allocations: 4.938 kB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.344, allocations: 183.9 kB / 0.524 GB, free: 31.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.344, allocations: 0 / 0.524 GB, free: 31.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.3444, allocations: 55.14 kB / 0.524 GB, free: 31.14 MB / 378.7 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.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001024/0.3454, allocations: 0.4968 MB / 0.5245 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3456, allocations: 79.62 kB / 0.5246 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3456, allocations: 3.031 kB / 0.5246 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.3457, allocations: 45.55 kB / 0.5246 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3461, allocations: 50.8 kB / 0.5247 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.3466, allocations: 435.5 kB / 0.5251 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.3468, allocations: 0.7238 MB / 0.5258 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.3468, allocations: 30.3 kB / 0.5258 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.3469, allocations: 33.53 kB / 0.5259 GB, free: 29.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3469, allocations: 0 / 0.5259 GB, free: 29.76 MB / 378.7 MB Notification: Performance of Templates: time 0.005266/0.3522, allocations: 3.095 MB / 0.5289 GB, free: 29.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches