Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, 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.2613/0.2613, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.09 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4914, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00373/0.4952, allocations: 1.625 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.4964, allocations: 0.5335 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.4964, allocations: 1.125 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.4969, allocations: 110.3 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.4972, allocations: 115.3 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4975, allocations: 95.2 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.4976, allocations: 87.83 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.4977, allocations: 16.23 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.4978, allocations: 43.14 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.4979, allocations: 72.88 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.498, allocations: 2.75 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.436e-05/0.4981, allocations: 40.86 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.4981, allocations: 29.53 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.4982, allocations: 38.55 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.4984, allocations: 113.3 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4984, allocations: 3.984 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4984, allocations: 1.375 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.4984, allocations: 0 / 0.5339 GB, free: 11.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005358/0.499, allocations: 438.1 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.499, allocations: 9.625 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.4991, allocations: 14.38 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.4993, allocations: 207.5 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4993, allocations: 5.734 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4993, allocations: 7.125 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4994, allocations: 54.12 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4995, allocations: 3.953 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.4995, allocations: 5.375 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4995, allocations: 5.375 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.4996, allocations: 33.64 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.5, allocations: 291.1 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.5001, allocations: 41.69 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.5001, allocations: 21.19 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5002, allocations: 4.078 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5002, allocations: 35.88 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5002, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008415/0.5011, allocations: 239 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.5011, allocations: 57.48 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.5016, allocations: 253.8 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5016, allocations: 30.52 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.5017, allocations: 107.5 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.5017, allocations: 30.52 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.5018, allocations: 20.31 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5019, allocations: 326.2 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.502, allocations: 26.48 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.5021, allocations: 25.66 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.5023, allocations: 56.44 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5023, allocations: 7.922 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.5025, allocations: 105.8 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5026, allocations: 4.031 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.5026, allocations: 9.344 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5026, allocations: 0 / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5027, allocations: 18.55 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5027, allocations: 0 / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.5029, allocations: 15.39 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5029, allocations: 6.328 kB / 0.5363 GB, free: 9.273 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 (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 prepare postOptimizeDAE: time 0.0001323/0.5031, allocations: 131.4 kB / 0.5364 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.5031, allocations: 18.78 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.5034, allocations: 117.4 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5034, allocations: 1.094 kB / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5034, allocations: 0 / 0.5365 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5034, allocations: 3.938 kB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.5041, allocations: 410.7 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5041, allocations: 0 / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.5042, allocations: 22.58 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5042, allocations: 3.938 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5042, allocations: 2.156 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5042, allocations: 9.031 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5042, allocations: 0 / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.5046, allocations: 209.1 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.5046, allocations: 89.06 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.5047, allocations: 5.109 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.5047, allocations: 3.75 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.5048, allocations: 7.609 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.5048, allocations: 10.14 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.505, allocations: 188.2 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.505, allocations: 1.219 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.5053, allocations: 22.06 kB / 0.5375 GB, free: 8.219 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: 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.001295/0.5066, allocations: 457.7 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.5068, allocations: 66.48 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5069, allocations: 0 / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.507, allocations: 42.28 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.5073, allocations: 29.06 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.5079, allocations: 291.7 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5083, allocations: 0.7144 MB / 0.539 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.5084, allocations: 15.58 kB / 0.539 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.5084, allocations: 17.25 kB / 0.539 GB, free: 6.965 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.5085, allocations: 1.125 kB / 0.539 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Templates: time 0.004902/0.5134, allocations: 1.371 MB / 0.5404 GB, free: 6.27 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches