Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001164, allocations: 212.8 kB / 19.41 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.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3987, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003146/0.4019, allocations: 1.607 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.403, allocations: 0.5481 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.4031, allocations: 1.656 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.4033, allocations: 24.38 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.4036, allocations: 83.84 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.4039, allocations: 94.53 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.4041, allocations: 69.95 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4042, allocations: 14.81 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.4043, allocations: 29.47 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.4044, allocations: 34.84 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.4044, allocations: 8.125 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.4046, allocations: 97.55 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.4046, allocations: 20.05 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.4047, allocations: 33.23 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.4049, allocations: 142.7 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.405, allocations: 0 / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.405, allocations: 0 / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.405, allocations: 3.938 kB / 0.5344 GB, free: 11.52 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.0005366/0.4055, allocations: 408.3 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4056, allocations: 9.625 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.4056, allocations: 12.97 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.4058, allocations: 193.8 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4058, allocations: 5.75 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.4059, allocations: 7.109 kB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4061, allocations: 69.27 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4061, allocations: 5.281 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4061, allocations: 0 / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4061, allocations: 1.375 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.4062, allocations: 32.47 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.4067, allocations: 298.9 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4068, allocations: 61.86 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.4069, allocations: 25.34 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.4069, allocations: 9.312 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.407, allocations: 34.56 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.407, allocations: 1.375 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006422/0.4076, allocations: 186 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4077, allocations: 82.39 kB / 0.5358 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4079, allocations: 156.6 kB / 0.5359 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4079, allocations: 26.92 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.408, allocations: 94.59 kB / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.408, allocations: 27.41 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.408, allocations: 24.98 kB / 0.5361 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4082, allocations: 325 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.4083, allocations: 30.8 kB / 0.5364 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4084, allocations: 49.94 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4086, allocations: 66.77 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4086, allocations: 11.92 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002327/0.4088, allocations: 108.1 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4088, allocations: 4.719 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4088, allocations: 0 / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4089, allocations: 1.406 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.409, allocations: 27.45 kB / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.409, allocations: 0 / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.409, allocations: 11.38 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4091, allocations: 2.375 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.237e-05/0.4092, allocations: 123.5 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4092, allocations: 7.531 kB / 0.5368 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.4095, allocations: 122.8 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4095, allocations: 5.125 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4095, allocations: 0 / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4095, allocations: 0 / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.41, allocations: 399.9 kB / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.41, allocations: 0 / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.4101, allocations: 25.77 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4101, allocations: 1.125 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4101, allocations: 9 kB / 0.5374 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4101, allocations: 0 / 0.5374 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4101, allocations: 5 kB / 0.5374 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4104, allocations: 191 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.4105, allocations: 87.28 kB / 0.5376 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4105, allocations: 9.281 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.4106, allocations: 7.969 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.4106, allocations: 6.328 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4106, allocations: 6.844 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.4107, allocations: 122.8 kB / 0.5378 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4107, allocations: 1.156 kB / 0.5378 GB, free: 8.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.411, allocations: 42.72 kB / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001241/0.4123, allocations: 0.4948 MB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.4126, allocations: 77.08 kB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4126, allocations: 0 / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.4127, allocations: 38.59 kB / 0.5384 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.413, allocations: 23.98 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.4135, allocations: 213.7 kB / 0.5386 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4138, allocations: 0.6967 MB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.4138, allocations: 24.73 kB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4138, allocations: 0 / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of Templates: time 0.004312/0.4182, allocations: 2.154 MB / 0.5415 GB, free: 5.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches