Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 80.09 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4964, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.005078/0.5015, allocations: 1.74 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.5038, allocations: 1.022 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5039, allocations: 0 / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.5043, allocations: 49.5 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.5048, allocations: 92.48 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.5051, allocations: 78.92 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.5053, allocations: 100.9 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.5055, allocations: 10.86 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.5056, allocations: 52.28 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.5057, allocations: 34.73 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.5057, allocations: 4.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.5059, allocations: 43.47 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.506, allocations: 22.73 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.506, allocations: 37.36 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.5063, allocations: 126 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5063, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5063, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.5063, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.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.0007128/0.507, allocations: 428.3 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5071, allocations: 9.625 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.5072, allocations: 12.88 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.5075, allocations: 217.8 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5076, allocations: 1.719 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5076, allocations: 5.469 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5077, allocations: 54.77 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5078, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5078, allocations: 1.312 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5078, allocations: 4 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.5079, allocations: 22.3 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.5084, allocations: 292.4 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.5085, allocations: 53.55 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.5086, allocations: 26.12 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.5086, allocations: 1.188 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.5089, allocations: 73.08 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5089, allocations: 0 / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006689/0.5096, allocations: 183 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.5096, allocations: 52.72 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.5099, allocations: 203.4 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.51, allocations: 30.98 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.51, allocations: 105.6 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.5101, allocations: 27.05 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.5101, allocations: 20.41 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5103, allocations: 331.1 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.5104, allocations: 22.39 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.5105, allocations: 35.83 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.5106, allocations: 67.67 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5106, allocations: 0 / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.5109, allocations: 99.3 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5109, allocations: 5.906 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5109, allocations: 1.156 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5109, allocations: 5.094 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.511, allocations: 24.2 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.511, allocations: 1 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.5111, allocations: 10.09 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5111, allocations: 2.969 kB / 0.5367 GB, free: 8.84 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.0001284/0.5113, allocations: 130.3 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.5113, allocations: 9.594 kB / 0.5368 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.5114, allocations: 16.22 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.5114, allocations: 5.547 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5114, allocations: 0 / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5114, allocations: 3.938 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.5119, allocations: 398.9 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5119, allocations: 1.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.512, allocations: 15.7 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.512, allocations: 1.094 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.512, allocations: 4.875 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.512, allocations: 1.188 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.512, allocations: 1 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.5123, allocations: 208.4 kB / 0.5375 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.5124, allocations: 88.86 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.5124, allocations: 9.031 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.5125, allocations: 6.797 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.5125, allocations: 2.938 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5125, allocations: 3.188 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.5127, allocations: 167.7 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5127, allocations: 4 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.513, allocations: 16.38 kB / 0.5378 GB, free: 7.875 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.001219/0.5142, allocations: 460.9 kB / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.5144, allocations: 62.03 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5144, allocations: 3.938 kB / 0.5383 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.5145, allocations: 25.53 kB / 0.5383 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.5149, allocations: 37.33 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.5154, allocations: 228.3 kB / 0.5385 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5157, allocations: 0.7155 MB / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.5158, allocations: 22.28 kB / 0.5393 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.5158, allocations: 15.94 kB / 0.5393 GB, free: 6.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5158, allocations: 0 / 0.5393 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004888/0.5207, allocations: 1.749 MB / 0.541 GB, free: 5.773 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches