Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2676/0.2676, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 83.86 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3972, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004725/0.402, allocations: 1.738 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.4046, allocations: 1.021 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.4047, allocations: 0 / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.4053, allocations: 33.12 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.4058, allocations: 98.75 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.4061, allocations: 74.39 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.4063, allocations: 105.7 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4065, allocations: 10.86 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4066, allocations: 44.28 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.4067, allocations: 37.42 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4067, allocations: 4.125 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4068, allocations: 44.84 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.4069, allocations: 21.36 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.4069, allocations: 30.67 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4071, allocations: 111.4 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4072, allocations: 5.359 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4072, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.4072, allocations: 0 / 0.5344 GB, free: 11.07 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.0006063/0.4078, allocations: 408.3 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4078, allocations: 9.625 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.4079, allocations: 8.969 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.4082, allocations: 219.8 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4082, allocations: 1.75 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4083, allocations: 5.5 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4084, allocations: 54.05 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4084, allocations: 5.359 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4084, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4085, allocations: 5.375 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.4085, allocations: 21.55 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.409, allocations: 285.4 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4092, allocations: 57.88 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.4093, allocations: 25.08 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4094, allocations: 5.375 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.4095, allocations: 65.14 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4095, allocations: 0 / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006966/0.4102, allocations: 174.3 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.4103, allocations: 52.47 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.4105, allocations: 168.3 kB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4106, allocations: 35.02 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.4107, allocations: 104 kB / 0.536 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.4107, allocations: 19.58 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.4108, allocations: 28.77 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.411, allocations: 326.4 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.411, allocations: 19.12 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.4111, allocations: 35.2 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4113, allocations: 66.42 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4113, allocations: 0.9375 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.4115, allocations: 103 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4115, allocations: 5.562 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4115, allocations: 0 / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4116, allocations: 1.094 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4117, allocations: 17.5 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4117, allocations: 1.031 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.4117, allocations: 14.2 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4117, allocations: 2.156 kB / 0.5366 GB, free: 8.93 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.0001194/0.4119, allocations: 126 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4119, allocations: 12.16 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.412, allocations: 17.42 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.412, allocations: 1.125 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.412, allocations: 0 / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.412, allocations: 5.125 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.4125, allocations: 391.7 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4125, allocations: 1.125 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.4125, allocations: 10.86 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4126, allocations: 1.312 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4126, allocations: 6.125 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4126, allocations: 5.125 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4126, allocations: 0 / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.4129, allocations: 204.6 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.4129, allocations: 84.42 kB / 0.5374 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.413, allocations: 5.125 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.413, allocations: 10.08 kB / 0.5374 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4131, allocations: 3.875 kB / 0.5375 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4131, allocations: 3.562 kB / 0.5375 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.4132, allocations: 133 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4132, allocations: 0 / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.4135, allocations: 24.03 kB / 0.5376 GB, free: 7.992 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.00116/0.4147, allocations: 467.9 kB / 0.5381 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4149, allocations: 69.89 kB / 0.5381 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4149, allocations: 1.5 kB / 0.5381 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.415, allocations: 28.02 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.4154, allocations: 29.08 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.4159, allocations: 201.6 kB / 0.5384 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4162, allocations: 0.7028 MB / 0.5391 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.4163, allocations: 18.61 kB / 0.5391 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.4163, allocations: 15.31 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4163, allocations: 1.156 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.004915/0.4212, allocations: 1.746 MB / 0.5408 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches