Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.001231, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 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.2183/0.2183, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3987, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003454/0.4022, allocations: 1.738 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.4048, allocations: 1.621 MB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.4049, allocations: 1.375 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4052, allocations: 41.39 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.4056, allocations: 103 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.4058, allocations: 78.97 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.406, allocations: 98.33 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4062, allocations: 14.86 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.967e-05/0.4063, allocations: 53.64 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4064, allocations: 45.91 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4065, allocations: 5.5 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.4067, allocations: 114.7 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.4067, allocations: 20.33 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.4068, allocations: 32.7 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.4071, allocations: 166.5 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4071, allocations: 0 / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4071, allocations: 5.094 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.4072, allocations: 0 / 0.5358 GB, free: 10.47 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.0006474/0.4078, allocations: 431.8 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4079, allocations: 9.219 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.4079, allocations: 10.22 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4083, allocations: 211.4 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4083, allocations: 9.859 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4084, allocations: 5.906 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4085, allocations: 65.58 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4086, allocations: 9.375 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4086, allocations: 0 / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4086, allocations: 1.344 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.4087, allocations: 17.98 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.4091, allocations: 281.3 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4093, allocations: 57.98 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.4094, allocations: 29.78 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4094, allocations: 1.25 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.4096, allocations: 65.27 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4096, allocations: 0 / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000577/0.4102, allocations: 173.4 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.4102, allocations: 82.08 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4104, allocations: 170.8 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4104, allocations: 30.89 kB / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.4105, allocations: 100.7 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.4105, allocations: 23.14 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.4106, allocations: 21.47 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4107, allocations: 324.9 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.4108, allocations: 18.95 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.4109, allocations: 49.62 kB / 0.5379 GB, free: 8.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.411, allocations: 59.39 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.411, allocations: 0 / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.4112, allocations: 95.31 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4113, allocations: 5.531 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4113, allocations: 0 / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4113, allocations: 6.016 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.4114, allocations: 28.52 kB / 0.5381 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4114, allocations: 5.344 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.4115, allocations: 2.656 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.4115, allocations: 6.188 kB / 0.5381 GB, free: 8.262 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.000125/0.4116, allocations: 124.9 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4116, allocations: 16.47 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.4117, allocations: 12.78 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4117, allocations: 1.125 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4117, allocations: 7.938 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4117, allocations: 1.438 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.4122, allocations: 395.1 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4122, allocations: 1.125 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.4122, allocations: 11.69 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4122, allocations: 1.344 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4123, allocations: 1.375 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4123, allocations: 1.375 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4123, allocations: 0 / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.4125, allocations: 204.2 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.4126, allocations: 92.94 kB / 0.5389 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.4126, allocations: 5.25 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.4127, allocations: 10.47 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4128, allocations: 7.172 kB / 0.5389 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4128, allocations: 7.094 kB / 0.5389 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4129, allocations: 127.6 kB / 0.539 GB, free: 7.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4129, allocations: 0 / 0.539 GB, free: 7.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.4133, allocations: 47.14 kB / 0.5391 GB, free: 7.305 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.001575/0.4149, allocations: 0.5398 MB / 0.5396 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4151, allocations: 58.08 kB / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4151, allocations: 0 / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.4152, allocations: 25.73 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4156, allocations: 53.73 kB / 0.5398 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.4162, allocations: 225.7 kB / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4165, allocations: 0.698 MB / 0.5406 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.4166, allocations: 21.67 kB / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4166, allocations: 0 / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of Templates: time 0.005094/0.4217, allocations: 2.42 MB / 0.543 GB, free: 4.793 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches