Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 207.4 kB / 17.99 MB, free: 3.801 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 99.33 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3719/0.3719, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.19 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3903, allocations: 62.01 MB / 0.5152 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003204/0.3935, allocations: 1.789 MB / 0.5169 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3959, allocations: 1.619 MB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.396, allocations: 0 / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3964, allocations: 41.16 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.3967, allocations: 76.89 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.397, allocations: 94.44 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3972, allocations: 103.9 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3973, allocations: 11 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.3974, allocations: 44.19 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3976, allocations: 44.95 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.3976, allocations: 3.031 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3978, allocations: 99.5 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.3979, allocations: 21.14 kB / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.3979, allocations: 39.5 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3982, allocations: 165.4 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3982, allocations: 0 / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3982, allocations: 0 / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3983, allocations: 4 kB / 0.5192 GB, free: 34.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006226/0.3989, allocations: 426.6 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3989, allocations: 11.09 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.399, allocations: 10.09 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3992, allocations: 214.6 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3992, allocations: 3.938 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3993, allocations: 2.781 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3994, allocations: 76.19 kB / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3995, allocations: 3.625 kB / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3995, allocations: 4 kB / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3995, allocations: 0 / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.3996, allocations: 20.23 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4, allocations: 291.1 kB / 0.5202 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.4001, allocations: 60.2 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.4002, allocations: 16.27 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.4002, allocations: 2.906 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.4004, allocations: 68.95 kB / 0.5204 GB, free: 33.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4004, allocations: 0 / 0.5204 GB, free: 33.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006561/0.4011, allocations: 178.9 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.4012, allocations: 87.95 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4014, allocations: 161.4 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4014, allocations: 28.14 kB / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.4014, allocations: 102 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4015, allocations: 24.53 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.4015, allocations: 19.22 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.4016, allocations: 323.7 kB / 0.5212 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.4016, allocations: 26.58 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.4017, allocations: 41.44 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.4018, allocations: 55.97 kB / 0.5214 GB, free: 32.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4018, allocations: 3.938 kB / 0.5214 GB, free: 32.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001653/0.402, allocations: 103 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.402, allocations: 2.906 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.402, allocations: 6.906 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.402, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.4021, allocations: 21.62 kB / 0.5215 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4022, allocations: 3.938 kB / 0.5215 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.4022, allocations: 3.062 kB / 0.5215 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4022, allocations: 10.56 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.305e-05/0.4023, allocations: 117.6 kB / 0.5216 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4023, allocations: 9 kB / 0.5216 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.4024, allocations: 19.53 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4024, allocations: 2.344 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4024, allocations: 3.938 kB / 0.5217 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4024, allocations: 0 / 0.5217 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.4028, allocations: 394.8 kB / 0.522 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4028, allocations: 0 / 0.522 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.4028, allocations: 15.55 kB / 0.522 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4028, allocations: 192 / 0.522 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4029, allocations: 6.938 kB / 0.5221 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4029, allocations: 7.938 kB / 0.5221 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4029, allocations: 6.656 kB / 0.5221 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.4033, allocations: 0.7853 MB / 0.5228 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.4034, allocations: 87.84 kB / 0.5229 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4034, allocations: 7.047 kB / 0.5229 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.4035, allocations: 2.938 kB / 0.5229 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4035, allocations: 10.3 kB / 0.5229 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4035, allocations: 5.781 kB / 0.5229 GB, free: 31.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.4036, allocations: 123.5 kB / 0.5231 GB, free: 31.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4037, allocations: 0 / 0.5231 GB, free: 31.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.404, allocations: 50.84 kB / 0.5231 GB, free: 31.37 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001295/0.4053, allocations: 0.5406 MB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.4055, allocations: 64.77 kB / 0.5237 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4055, allocations: 0 / 0.5237 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.4056, allocations: 32.41 kB / 0.5237 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.406, allocations: 23.25 kB / 0.5238 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.4064, allocations: 344.2 kB / 0.5241 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.4066, allocations: 0.7022 MB / 0.5248 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.624e-05/0.4067, allocations: 14.91 kB / 0.5248 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.4067, allocations: 22.78 kB / 0.5248 GB, free: 30.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4067, allocations: 2.969 kB / 0.5248 GB, free: 30.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004991/0.4117, allocations: 2.334 MB / 0.5271 GB, free: 29.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches