Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 118.2 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.002049/0.002049, allocations: 206 kB / 18.74 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.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 79.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3637, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003043/0.3668, allocations: 1.617 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3679, allocations: 0.5533 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.368, allocations: 5.062 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.3686, allocations: 452.9 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.3691, allocations: 293.3 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.3695, allocations: 167.1 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3698, allocations: 171.8 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3699, allocations: 14.86 kB / 0.5338 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.37, allocations: 105.5 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3703, allocations: 214.5 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3703, allocations: 3.188 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.3704, allocations: 27.45 kB / 0.5341 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3705, allocations: 78.19 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3706, allocations: 107.7 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.3709, allocations: 255.4 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3709, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.371, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.371, allocations: 1.094 kB / 0.5346 GB, free: 10.68 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.000807/0.3718, allocations: 0.6544 MB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3718, allocations: 13.09 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.3719, allocations: 40.11 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.3719, allocations: 42.56 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3723, allocations: 305 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3723, allocations: 384 / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.3723, allocations: 2.281 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3724, allocations: 56.86 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3725, allocations: 1.219 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3725, allocations: 0 / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3725, allocations: 5.156 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.3726, allocations: 26.11 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3731, allocations: 389.3 kB / 0.536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.3732, allocations: 33 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.3733, allocations: 15.98 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3733, allocations: 8.922 kB / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3733, allocations: 35.69 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3733, allocations: 0 / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002774/0.3736, allocations: 109 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3737, allocations: 51.41 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3748, allocations: 0.8779 MB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3748, allocations: 34.89 kB / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.375, allocations: 222.1 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3751, allocations: 11.89 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3751, allocations: 17.14 kB / 0.5374 GB, free: 8.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3753, allocations: 364.7 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.3754, allocations: 8.703 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.3754, allocations: 6.688 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3755, allocations: 42.02 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3755, allocations: 1.219 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.3757, allocations: 91.06 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3757, allocations: 5.375 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3758, allocations: 0 / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3758, allocations: 1.344 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.3759, allocations: 7.953 kB / 0.5379 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3759, allocations: 0 / 0.5379 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3759, allocations: 7.25 kB / 0.5379 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3759, allocations: 5.078 kB / 0.5379 GB, free: 7.895 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 (2): * Single equations (assignments): 2 * 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.0002135/0.3762, allocations: 213 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3762, allocations: 47.48 kB / 0.5382 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3765, allocations: 109.2 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3765, allocations: 0 / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3765, allocations: 0 / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3765, allocations: 1.344 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.3768, allocations: 300.2 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3768, allocations: 1.594 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.3769, allocations: 3.906 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3769, allocations: 0 / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3769, allocations: 1.188 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3769, allocations: 0 / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3769, allocations: 1.75 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3772, allocations: 200.8 kB / 0.5388 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3773, allocations: 115.7 kB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3773, allocations: 0 / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3774, allocations: 6.562 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3774, allocations: 1.031 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3774, allocations: 0 / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007528/0.3782, allocations: 0.6645 MB / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3782, allocations: 0 / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3784, allocations: 23.53 kB / 0.5396 GB, free: 6.734 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 (2): * Single equations (assignments): 2 * 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.001768/0.3802, allocations: 0.9678 MB / 0.5405 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3804, allocations: 26.42 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3804, allocations: 1.062 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.3804, allocations: 11.55 kB / 0.5405 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3809, allocations: 32.22 kB / 0.5406 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.3847, allocations: 3.181 MB / 0.5437 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.3853, allocations: 0.8277 MB / 0.5445 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.3854, allocations: 19.08 kB / 0.5445 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3855, allocations: 112.3 kB / 0.5446 GB, free: 2.953 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3855, allocations: 3.938 kB / 0.5446 GB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4147, allocations: 5.786 MB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.926, allocations: 3.078 kB / 0.5503 GB, free: 13.27 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches