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.001289/0.001289, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 204.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.503/1.503, 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.2437/0.2437, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 79.88 kB / 481.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4865, allocations: 62.44 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004315/0.4909, allocations: 1.754 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.4931, allocations: 1.023 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4933, allocations: 4.938 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.4938, allocations: 110.8 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.4943, allocations: 128.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.4946, allocations: 75.88 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.4949, allocations: 116.2 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.495, allocations: 19.77 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.4952, allocations: 60.12 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.4954, allocations: 72.28 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.4954, allocations: 4.469 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.4956, allocations: 54.61 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.4957, allocations: 29.95 kB / 0.5345 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.4958, allocations: 48.22 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.4962, allocations: 138 kB / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4962, allocations: 0 / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4962, allocations: 0 / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4962, allocations: 0 / 0.5346 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008895/0.4971, allocations: 468.7 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4971, allocations: 8.25 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.4972, allocations: 15.72 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.4977, allocations: 219.1 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4977, allocations: 1.75 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.4977, allocations: 14.83 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4979, allocations: 60.78 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.498, allocations: 0 / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.498, allocations: 1.375 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.498, allocations: 9.359 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.4981, allocations: 24.3 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.4987, allocations: 307 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.499, allocations: 56.11 kB / 0.5358 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.87e-05/0.4991, allocations: 27.62 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.4992, allocations: 5.469 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4993, allocations: 69.36 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4994, allocations: 0 / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008989/0.5003, allocations: 256.3 kB / 0.5361 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.5003, allocations: 60.38 kB / 0.5362 GB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.5007, allocations: 247.5 kB / 0.5364 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5007, allocations: 34.67 kB / 0.5364 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.5008, allocations: 111.5 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.5009, allocations: 41.06 kB / 0.5366 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.5009, allocations: 29.98 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003664/0.5013, allocations: 324 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.5014, allocations: 30.48 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.5015, allocations: 44.86 kB / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.5017, allocations: 84.17 kB / 0.5371 GB, free: 8.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5017, allocations: 0 / 0.5371 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000318/0.502, allocations: 139.2 kB / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.502, allocations: 5.594 kB / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.502, allocations: 0 / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5021, allocations: 1.281 kB / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.5022, allocations: 21.39 kB / 0.5372 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5022, allocations: 5.062 kB / 0.5372 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.5023, allocations: 10.66 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5023, allocations: 2.969 kB / 0.5372 GB, free: 8.609 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.0001335/0.5024, allocations: 136.6 kB / 0.5374 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.5024, allocations: 14.97 kB / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.5025, allocations: 25.33 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5025, allocations: 1.938 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5025, allocations: 3.938 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5026, allocations: 0 / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.5034, allocations: 464.4 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5034, allocations: 0.9688 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.5035, allocations: 16.14 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5035, allocations: 1.25 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5035, allocations: 2.438 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5035, allocations: 1.094 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5035, allocations: 1.188 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.5038, allocations: 242.8 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.5039, allocations: 93.75 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.504, allocations: 5.719 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.504, allocations: 3.688 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.5041, allocations: 11.77 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.5041, allocations: 8.719 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.5043, allocations: 184.7 kB / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5043, allocations: 0 / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.5047, allocations: 33.61 kB / 0.5384 GB, free: 7.559 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.001325/0.506, allocations: 0.5061 MB / 0.5389 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.5062, allocations: 78.16 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5063, allocations: 0 / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.5064, allocations: 47.11 kB / 0.5391 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5069, allocations: 37.5 kB / 0.5391 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.5076, allocations: 301.8 kB / 0.5394 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.508, allocations: 0.7187 MB / 0.5401 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.5081, allocations: 16.14 kB / 0.5401 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.5081, allocations: 20.5 kB / 0.5401 GB, free: 6.273 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5081, allocations: 0 / 0.5401 GB, free: 6.273 MB / 398.1 MB Notification: Performance of Templates: time 0.006928/0.5151, allocations: 2.018 MB / 0.5421 GB, free: 5.254 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