Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 76.16 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.464, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003266/0.4673, allocations: 1.731 MB / 0.5328 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4691, allocations: 1.017 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.4692, allocations: 3.938 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.4695, allocations: 78.72 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.4699, allocations: 123.1 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.4701, allocations: 78.58 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.4703, allocations: 117.2 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4704, allocations: 10.75 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4705, allocations: 57.83 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.4706, allocations: 60.5 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.4707, allocations: 3.5 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.4708, allocations: 47.86 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.4708, allocations: 20.05 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.4709, allocations: 40.86 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.4711, allocations: 128.5 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4711, allocations: 4 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4712, allocations: 0 / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.4712, allocations: 1.219 kB / 0.5345 GB, free: 10.96 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.000568/0.4717, allocations: 416.6 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4718, allocations: 9.625 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4718, allocations: 18.19 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.4721, allocations: 217.8 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4722, allocations: 1.75 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4722, allocations: 9.5 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4724, allocations: 54.05 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4724, allocations: 5.359 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4724, allocations: 0 / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4724, allocations: 1.375 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.4725, allocations: 17.61 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.4729, allocations: 301.5 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.473, allocations: 60.55 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.4731, allocations: 18.48 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.4731, allocations: 1.375 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.4733, allocations: 69.08 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4733, allocations: 0 / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.4738, allocations: 178.6 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4739, allocations: 56.84 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4741, allocations: 225.6 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4741, allocations: 26.83 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.4742, allocations: 109.7 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4742, allocations: 20.17 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.4743, allocations: 24.44 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4744, allocations: 327 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.4745, allocations: 26.98 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.4745, allocations: 39.52 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4747, allocations: 62.53 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4747, allocations: 1.094 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.4749, allocations: 103.9 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4749, allocations: 7 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4749, allocations: 5.156 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4749, allocations: 1.531 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.475, allocations: 20.77 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.475, allocations: 1.438 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.4751, allocations: 9.438 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4751, allocations: 6.281 kB / 0.5368 GB, free: 8.77 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.000106/0.4752, allocations: 125.4 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4752, allocations: 9.969 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.4753, allocations: 23.44 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4753, allocations: 0.8125 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4753, allocations: 0.9688 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4753, allocations: 7.922 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.4758, allocations: 396.5 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4758, allocations: 1 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.4758, allocations: 10.95 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4758, allocations: 1.094 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4758, allocations: 10.19 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4758, allocations: 1.156 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4758, allocations: 3.938 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.4761, allocations: 197.9 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.4761, allocations: 88.39 kB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.4762, allocations: 5.344 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.4762, allocations: 9.234 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4763, allocations: 7.906 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4763, allocations: 4.125 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.4765, allocations: 168.4 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4765, allocations: 0 / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.4767, allocations: 25.84 kB / 0.5379 GB, free: 7.809 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.001019/0.4778, allocations: 465.2 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.478, allocations: 61.61 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.478, allocations: 1.219 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4781, allocations: 37.31 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4784, allocations: 28.27 kB / 0.5385 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.4789, allocations: 252.6 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4791, allocations: 0.7072 MB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.4792, allocations: 21.86 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.4793, allocations: 20.31 kB / 0.5394 GB, free: 6.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4793, allocations: 4 kB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Templates: time 0.004473/0.4837, allocations: 1.747 MB / 0.5411 GB, free: 5.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches