Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, 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.001128/0.001128, allocations: 202 kB / 18.73 MB, free: 4.32 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.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 83.86 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3839, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002924/0.3869, allocations: 1.745 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3885, allocations: 1.018 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.3886, allocations: 0 / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3889, allocations: 40.14 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.3892, allocations: 99.03 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3894, allocations: 80.23 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3896, allocations: 105 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3897, allocations: 10.88 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.3898, allocations: 44.28 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.3899, allocations: 37.41 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3899, allocations: 4.125 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.39, allocations: 39.48 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3901, allocations: 22.73 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.3901, allocations: 35.98 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3903, allocations: 122.1 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3903, allocations: 4 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3903, allocations: 1.375 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3903, allocations: 4 kB / 0.5344 GB, free: 11.05 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.0004994/0.3909, allocations: 411 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3909, allocations: 9.625 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3909, allocations: 8.969 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.3912, allocations: 221.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3912, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3912, allocations: 6.875 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3915, allocations: 54.05 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3915, allocations: 7.906 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3915, allocations: 1.375 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3915, allocations: 0 / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.3916, allocations: 22.98 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.392, allocations: 286.8 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.3922, allocations: 69.05 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3923, allocations: 18.52 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3923, allocations: 1.062 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3925, allocations: 68.44 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3925, allocations: 1.062 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.393, allocations: 166.1 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3931, allocations: 56.34 kB / 0.5357 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.3933, allocations: 197.1 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3934, allocations: 26.8 kB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3934, allocations: 100.6 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.3935, allocations: 28.02 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.3936, allocations: 19.59 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3937, allocations: 335.1 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.3938, allocations: 18.05 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.3939, allocations: 39.58 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3941, allocations: 67.56 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3941, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002448/0.3943, allocations: 103.9 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3943, allocations: 9.688 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3944, allocations: 0 / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3944, allocations: 1.156 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3945, allocations: 21.86 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3945, allocations: 0 / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3946, allocations: 10.59 kB / 0.5367 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3946, allocations: 2.281 kB / 0.5367 GB, free: 8.902 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.0001333/0.3947, allocations: 127.1 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3948, allocations: 9.469 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.3948, allocations: 19.2 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3949, allocations: 1.125 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3949, allocations: 4 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3949, allocations: 9.109 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.3955, allocations: 397.9 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3955, allocations: 1.281 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.3955, allocations: 7.375 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3956, allocations: 1.094 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3956, allocations: 9.016 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3956, allocations: 1.312 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3956, allocations: 1.062 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.3959, allocations: 208.7 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.396, allocations: 87.48 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3961, allocations: 6.156 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.3961, allocations: 6 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.3962, allocations: 7.234 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3962, allocations: 7.969 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3965, allocations: 152.8 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3965, allocations: 0 / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004545/0.397, allocations: 24.03 kB / 0.5377 GB, free: 7.934 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.001672/0.3986, allocations: 466.5 kB / 0.5382 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3989, allocations: 62.25 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3989, allocations: 0 / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.399, allocations: 33.67 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3994, allocations: 21.3 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.4001, allocations: 239.7 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4005, allocations: 0.7017 MB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.4006, allocations: 19.14 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.4007, allocations: 14.56 kB / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4007, allocations: 0 / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Templates: time 0.005418/0.4061, allocations: 1.76 MB / 0.5409 GB, free: 5.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches