Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, 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.2222/0.2222, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3754, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003068/0.3786, allocations: 1.597 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3803, allocations: 1.159 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3804, allocations: 1.688 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3807, allocations: 32.97 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.381, allocations: 81.27 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3813, allocations: 117.2 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3815, allocations: 59.41 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3816, allocations: 14.67 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.3817, allocations: 34.19 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3818, allocations: 31.11 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3818, allocations: 4.312 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.382, allocations: 98.52 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.3821, allocations: 12.31 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3821, allocations: 28.31 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3824, allocations: 135.5 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3824, allocations: 8 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3824, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3824, allocations: 0 / 0.535 GB, free: 11.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005303/0.383, allocations: 396.2 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.383, allocations: 9.812 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3831, allocations: 7.938 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3833, allocations: 194.8 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3833, allocations: 5.562 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3833, allocations: 2.438 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3835, allocations: 77.34 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3835, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3835, allocations: 4 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3836, allocations: 1.219 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.3836, allocations: 21.95 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.3841, allocations: 287.9 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3843, allocations: 44.38 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.3844, allocations: 21.19 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3844, allocations: 0 / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3845, allocations: 35.94 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3845, allocations: 0 / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005454/0.385, allocations: 153.9 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3851, allocations: 78.48 kB / 0.5363 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3852, allocations: 148.9 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3853, allocations: 29.7 kB / 0.5364 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3853, allocations: 86.89 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3854, allocations: 26.34 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3854, allocations: 27.2 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3855, allocations: 316.2 kB / 0.5369 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.3856, allocations: 24.34 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.3857, allocations: 35.45 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3858, allocations: 54.98 kB / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3858, allocations: 0.8125 kB / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001782/0.386, allocations: 83.16 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3861, allocations: 5.5 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3861, allocations: 0 / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3861, allocations: 1.188 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3862, allocations: 17.89 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3862, allocations: 0 / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3862, allocations: 8.188 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3862, allocations: 4.875 kB / 0.5371 GB, free: 8.965 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 (5): * Single equations (assignments): 5 * 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.274e-05/0.3863, allocations: 126 kB / 0.5372 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.3864, allocations: 3.375 kB / 0.5372 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3866, allocations: 100.6 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3866, allocations: 1.094 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3867, allocations: 0 / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3867, allocations: 5.109 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.3871, allocations: 367.3 kB / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3871, allocations: 0 / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.3872, allocations: 18.05 kB / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3872, allocations: 3.938 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3872, allocations: 1.062 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3872, allocations: 5.125 kB / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3872, allocations: 0 / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3875, allocations: 187 kB / 0.5379 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.3875, allocations: 82.25 kB / 0.538 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3875, allocations: 1.188 kB / 0.538 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3876, allocations: 11.12 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.3877, allocations: 6.609 kB / 0.538 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3877, allocations: 1.125 kB / 0.538 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.3878, allocations: 109.9 kB / 0.5381 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3878, allocations: 1.094 kB / 0.5381 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000305/0.3881, allocations: 47.48 kB / 0.5381 GB, free: 7.988 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 (5): * Single equations (assignments): 5 * 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.001153/0.3893, allocations: 496.2 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3895, allocations: 50.62 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3895, allocations: 1.125 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.3896, allocations: 33.03 kB / 0.5387 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3899, allocations: 16.39 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.3904, allocations: 208 kB / 0.5389 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3907, allocations: 0.6902 MB / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3908, allocations: 14.16 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3908, allocations: 0.7812 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of Templates: time 0.004004/0.3948, allocations: 1.978 MB / 0.5415 GB, free: 5.777 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches