Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 80.09 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.482, allocations: 62.44 MB / 0.5311 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00343/0.4855, allocations: 1.749 MB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4874, allocations: 1.018 MB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.4875, allocations: 1.312 kB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.488, allocations: 115.7 kB / 0.5339 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.4884, allocations: 128.4 kB / 0.534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.4887, allocations: 79.55 kB / 0.5341 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4889, allocations: 120.3 kB / 0.5342 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.489, allocations: 15.97 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.4892, allocations: 63.25 kB / 0.5343 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.4893, allocations: 64.66 kB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4893, allocations: 4.094 kB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.4895, allocations: 58.53 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.4896, allocations: 30.42 kB / 0.5344 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.4897, allocations: 49.23 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.4899, allocations: 140.6 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.49, allocations: 1.375 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.49, allocations: 4 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.49, allocations: 0 / 0.5346 GB, free: 11.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006747/0.4907, allocations: 451.4 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4907, allocations: 13.56 kB / 0.5351 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.4908, allocations: 15.72 kB / 0.5351 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.4911, allocations: 231 kB / 0.5353 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4912, allocations: 1.75 kB / 0.5353 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.4912, allocations: 14.83 kB / 0.5353 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.4914, allocations: 64.28 kB / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4914, allocations: 0 / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4914, allocations: 1.219 kB / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4914, allocations: 1.344 kB / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.4915, allocations: 19.8 kB / 0.5354 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.492, allocations: 311.9 kB / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4922, allocations: 60.91 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.4923, allocations: 26.09 kB / 0.5358 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4923, allocations: 5.047 kB / 0.5358 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.4925, allocations: 70.55 kB / 0.5359 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4925, allocations: 0 / 0.5359 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008124/0.4933, allocations: 260.3 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4934, allocations: 56.56 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.4937, allocations: 250.7 kB / 0.5364 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4937, allocations: 30.86 kB / 0.5364 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.4938, allocations: 111.7 kB / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.4939, allocations: 40.94 kB / 0.5366 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.4939, allocations: 22.97 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4941, allocations: 330.6 kB / 0.5369 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.4941, allocations: 31.56 kB / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.4942, allocations: 47.62 kB / 0.537 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4944, allocations: 80.64 kB / 0.5371 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4944, allocations: 1.094 kB / 0.5371 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002477/0.4946, allocations: 122.1 kB / 0.5372 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4947, allocations: 5.969 kB / 0.5372 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4947, allocations: 7.969 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4947, allocations: 1.094 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.4948, allocations: 25.27 kB / 0.5372 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4948, allocations: 5 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.4949, allocations: 6.156 kB / 0.5372 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4949, allocations: 3.938 kB / 0.5372 GB, free: 8.836 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 (13): * Single equations (assignments): 13 * 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.0001263/0.495, allocations: 133 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.495, allocations: 18.45 kB / 0.5374 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.4951, allocations: 21.09 kB / 0.5374 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4951, allocations: 6.344 kB / 0.5374 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4951, allocations: 3.938 kB / 0.5374 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4951, allocations: 0 / 0.5374 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.4957, allocations: 464 kB / 0.5379 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4957, allocations: 4.891 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.4958, allocations: 16.69 kB / 0.5379 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4958, allocations: 1.188 kB / 0.5379 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4958, allocations: 6.219 kB / 0.5379 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4958, allocations: 0.9375 kB / 0.5379 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4958, allocations: 1.125 kB / 0.5379 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.4961, allocations: 235.3 kB / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.4962, allocations: 93.02 kB / 0.5382 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4962, allocations: 6.156 kB / 0.5382 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.4963, allocations: 10.36 kB / 0.5382 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.4964, allocations: 12.34 kB / 0.5382 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.4964, allocations: 5.25 kB / 0.5382 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.4966, allocations: 188.5 kB / 0.5384 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4966, allocations: 0 / 0.5384 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4969, allocations: 29.47 kB / 0.5384 GB, free: 7.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001237/0.4981, allocations: 0.5067 MB / 0.5389 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4983, allocations: 73.2 kB / 0.539 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4984, allocations: 1.156 kB / 0.539 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.4985, allocations: 38.92 kB / 0.539 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4989, allocations: 45.72 kB / 0.5391 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.4995, allocations: 305.8 kB / 0.5394 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4998, allocations: 0.7133 MB / 0.5401 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.4999, allocations: 21.09 kB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.4999, allocations: 24.98 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4999, allocations: 0 / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of Templates: time 0.006225/0.5062, allocations: 2.014 MB / 0.5421 GB, free: 5.477 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches