Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4389, allocations: 60.82 MB / 0.519 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003568/0.4425, allocations: 1.707 MB / 0.5207 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.444, allocations: 0.8761 MB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.444, allocations: 1.656 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.4444, allocations: 32.55 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.4446, allocations: 60.8 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.445, allocations: 118 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4452, allocations: 91.45 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4453, allocations: 12.11 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.4454, allocations: 45.33 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.4455, allocations: 27.45 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4455, allocations: 3.406 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.4456, allocations: 45.91 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.4457, allocations: 23.88 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.4457, allocations: 37.59 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.446, allocations: 117 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.446, allocations: 0.6094 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.446, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.446, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.1 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.0005679/0.4466, allocations: 410.8 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4466, allocations: 8.75 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.4467, allocations: 19.31 kB / 0.5225 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.447, allocations: 211.4 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.447, allocations: 1.594 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.447, allocations: 11.03 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.4472, allocations: 57.83 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4472, allocations: 0.75 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4472, allocations: 1.125 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4472, allocations: 0 / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.4473, allocations: 22.69 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.4477, allocations: 291.6 kB / 0.5231 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.4479, allocations: 59.88 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.448, allocations: 28.06 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.448, allocations: 1.125 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.4482, allocations: 67.03 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4482, allocations: 0 / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005347/0.4487, allocations: 176.5 kB / 0.5234 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4488, allocations: 57.66 kB / 0.5235 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.449, allocations: 192.7 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.449, allocations: 30.86 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.4491, allocations: 100.5 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.4491, allocations: 29.75 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.4492, allocations: 25.84 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4493, allocations: 326.2 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.4494, allocations: 22.06 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.4495, allocations: 42.69 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4496, allocations: 62.33 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4496, allocations: 0 / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.4498, allocations: 105.5 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4498, allocations: 5.438 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4498, allocations: 1.75 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4499, allocations: 1.156 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.45, allocations: 14.31 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.45, allocations: 1.719 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.45, allocations: 6.922 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.45, allocations: 2.656 kB / 0.5244 GB, free: 15.5 MB / 398.1 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 0.0001191/0.4502, allocations: 134.8 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.4502, allocations: 14.48 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.4502, allocations: 17.27 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4503, allocations: 0 / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4503, allocations: 2.219 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4503, allocations: 4.547 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.4508, allocations: 399.1 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4508, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.4508, allocations: 8.891 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4508, allocations: 1.188 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4509, allocations: 6.156 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4509, allocations: 2.031 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4509, allocations: 5.281 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4511, allocations: 208.7 kB / 0.5252 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.4512, allocations: 84.56 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.4512, allocations: 6.312 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.4513, allocations: 8.234 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4513, allocations: 5.484 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4514, allocations: 3.406 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.4515, allocations: 151.5 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4515, allocations: 0 / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.4518, allocations: 26.52 kB / 0.5254 GB, free: 14.6 MB / 398.1 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.001087/0.4529, allocations: 467.5 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.4531, allocations: 69.2 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4531, allocations: 4.062 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.4532, allocations: 29.19 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4535, allocations: 25.67 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.454, allocations: 221.6 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.4543, allocations: 0.7149 MB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.4544, allocations: 16.78 kB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4544, allocations: 16.84 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4545, allocations: 0 / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.004752/0.4592, allocations: 1.712 MB / 0.5286 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches