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.001411/0.001411, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2509/0.2509, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 79.88 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4862, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003676/0.4899, allocations: 1.734 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4917, allocations: 1.014 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.4918, allocations: 1.438 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.4922, allocations: 90.81 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.4926, allocations: 114.3 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.4928, allocations: 79.05 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.493, allocations: 112.4 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4931, allocations: 18.91 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4933, allocations: 49.36 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4934, allocations: 68.62 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.4934, allocations: 4.031 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.4935, allocations: 43.48 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.4936, allocations: 24.11 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.4937, allocations: 32 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.4939, allocations: 133.3 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4939, allocations: 3.938 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4939, allocations: 0 / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.494, allocations: 0 / 0.5345 GB, free: 10.97 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.0006476/0.4946, allocations: 431.6 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4947, allocations: 13.56 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.4947, allocations: 14.34 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4951, allocations: 218 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4951, allocations: 1.75 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.4951, allocations: 5.5 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4953, allocations: 54.05 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4953, allocations: 1.375 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4953, allocations: 0 / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4953, allocations: 5.375 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.4954, allocations: 17.61 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.4958, allocations: 296.2 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.496, allocations: 53.88 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.496, allocations: 26.47 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.4961, allocations: 5.375 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.4962, allocations: 60.39 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4962, allocations: 0 / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005832/0.4968, allocations: 183.5 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4969, allocations: 52.5 kB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.4973, allocations: 226.5 kB / 0.5361 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4973, allocations: 30.86 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.4974, allocations: 109.4 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4974, allocations: 23.67 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.4975, allocations: 24.88 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4976, allocations: 330.4 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.4977, allocations: 19.03 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.4978, allocations: 34.92 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4979, allocations: 59.7 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4979, allocations: 0 / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.4981, allocations: 108 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4981, allocations: 9.578 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4981, allocations: 1.469 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4982, allocations: 1.156 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.4983, allocations: 16.5 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4983, allocations: 5.031 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.4983, allocations: 18.09 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4984, allocations: 11.45 kB / 0.5369 GB, free: 8.762 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.0001204/0.4985, allocations: 121.1 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.4985, allocations: 13.72 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.4986, allocations: 19.17 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4986, allocations: 1.188 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4986, allocations: 1.062 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4986, allocations: 7.922 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.4991, allocations: 408.3 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4991, allocations: 1.062 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.4992, allocations: 7.031 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4992, allocations: 1.562 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4992, allocations: 5.062 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4992, allocations: 1.094 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4992, allocations: 1.094 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4995, allocations: 213.1 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4996, allocations: 84.22 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4996, allocations: 5.312 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.4997, allocations: 2.812 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.4997, allocations: 11.2 kB / 0.5377 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4997, allocations: 3.719 kB / 0.5377 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.4999, allocations: 165 kB / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4999, allocations: 0 / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.5002, allocations: 32.73 kB / 0.5379 GB, free: 7.793 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.00118/0.5014, allocations: 448.8 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.5016, allocations: 65.41 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5016, allocations: 0 / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.5017, allocations: 29.86 kB / 0.5384 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.502, allocations: 38.69 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.0006692/0.5027, allocations: 255.6 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.5034, allocations: 0.7086 MB / 0.5394 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.5035, allocations: 22.61 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.5035, allocations: 19.45 kB / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5035, allocations: 0 / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.005341/0.5089, allocations: 1.75 MB / 0.5412 GB, free: 5.684 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