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.001828/0.001828, allocations: 117.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002816/0.002816, allocations: 204.7 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 83.86 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4859, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004817/0.4907, allocations: 1.73 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.4926, allocations: 1.018 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.4927, allocations: 1.125 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.4931, allocations: 82.67 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.4935, allocations: 118.3 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.4938, allocations: 79.48 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.494, allocations: 116 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4942, allocations: 7.75 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4943, allocations: 57.84 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.4944, allocations: 63.27 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.4945, allocations: 3.812 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4946, allocations: 44.7 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.4947, allocations: 23.92 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.4947, allocations: 40.38 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.495, allocations: 127.9 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.495, allocations: 1.406 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.495, allocations: 0 / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.495, allocations: 0 / 0.5345 GB, free: 10.99 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.0006023/0.4956, allocations: 421.7 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4957, allocations: 8.25 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.4957, allocations: 27.48 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4961, allocations: 216.4 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4961, allocations: 1.75 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4961, allocations: 6.875 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4963, allocations: 54.05 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4963, allocations: 0 / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4963, allocations: 0 / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4963, allocations: 5.375 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.4964, allocations: 18.98 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.4968, allocations: 300.2 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.497, allocations: 53.92 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.4971, allocations: 17.11 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4971, allocations: 9.375 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.4973, allocations: 65.12 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/0.4973, allocations: 0 / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.4978, allocations: 175 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.4979, allocations: 52.84 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.4981, allocations: 230.5 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4982, allocations: 26.8 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.4982, allocations: 109.7 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4983, allocations: 22.92 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.4983, allocations: 25.28 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4985, allocations: 326 kB / 0.5366 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.4985, allocations: 23.98 kB / 0.5366 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.4986, allocations: 34.8 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4987, allocations: 63.45 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4987, allocations: 4 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.4989, allocations: 108 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.499, allocations: 5.406 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.499, allocations: 1.219 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.499, allocations: 0.9062 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.4991, allocations: 21.17 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4991, allocations: 0.9688 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.4992, allocations: 9.938 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.4992, allocations: 7.312 kB / 0.5368 GB, free: 8.797 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.0001092/0.4993, allocations: 129.3 kB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4993, allocations: 9.219 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.4994, allocations: 19.8 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4994, allocations: 5.219 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4994, allocations: 0 / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4994, allocations: 5.094 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.4998, allocations: 404.5 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4999, allocations: 0 / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.4999, allocations: 11.77 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4999, allocations: 1.125 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4999, allocations: 5.156 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4999, allocations: 1.156 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4999, allocations: 1.094 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.5002, allocations: 205.3 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.5002, allocations: 87.89 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.5003, allocations: 9.109 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.5003, allocations: 2.625 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.5004, allocations: 6.938 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5004, allocations: 7.859 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.5005, allocations: 165.1 kB / 0.5379 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5006, allocations: 0 / 0.5379 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.5008, allocations: 29.16 kB / 0.5379 GB, free: 7.828 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.001132/0.502, allocations: 466 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.5022, allocations: 62.19 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5022, allocations: 0 / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.5022, allocations: 28.92 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.5026, allocations: 39.11 kB / 0.5385 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.5031, allocations: 244.3 kB / 0.5387 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5034, allocations: 0.712 MB / 0.5394 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.5035, allocations: 17.98 kB / 0.5394 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.5035, allocations: 15.06 kB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5035, allocations: 0 / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.004708/0.5082, allocations: 1.751 MB / 0.5411 GB, free: 5.719 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