Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.001509, 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 80.09 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.373, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003248/0.3763, allocations: 1.71 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3774, allocations: 0.5902 MB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3775, allocations: 0.875 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.3777, allocations: 28.16 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.378, allocations: 80.8 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.3785, allocations: 183.7 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3787, allocations: 102.4 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3789, allocations: 21.67 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.3789, allocations: 34.33 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3791, allocations: 49.12 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3791, allocations: 5.781 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3793, allocations: 107.2 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.3794, allocations: 23.08 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.3794, allocations: 35.42 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.3797, allocations: 184.4 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3798, allocations: 0 / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3798, allocations: 0 / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3798, allocations: 0 / 0.5337 GB, free: 11.02 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.0007329/0.3805, allocations: 450.3 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3806, allocations: 13.41 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.3806, allocations: 36 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3807, allocations: 10.05 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.381, allocations: 209 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.381, allocations: 1.656 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.381, allocations: 2.75 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.3813, allocations: 107.5 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3813, allocations: 0 / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3813, allocations: 1.375 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3813, allocations: 0 / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.3817, allocations: 73.17 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.3823, allocations: 347.4 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3826, allocations: 75.47 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3828, allocations: 53.69 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3828, allocations: 1.375 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3828, allocations: 31.94 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3829, allocations: 0 / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001697/0.3846, allocations: 417 kB / 0.5355 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.3846, allocations: 87.19 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.3849, allocations: 171.7 kB / 0.5357 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3849, allocations: 27.02 kB / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.385, allocations: 104.4 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.385, allocations: 26.94 kB / 0.5359 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.3851, allocations: 25.77 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3853, allocations: 330.5 kB / 0.5362 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.3856, allocations: 73.61 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3859, allocations: 95.94 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.3865, allocations: 176.4 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3865, allocations: 0 / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006759/0.3872, allocations: 205.9 kB / 0.5367 GB, free: 8.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3872, allocations: 5.25 kB / 0.5367 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3873, allocations: 0 / 0.5367 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3873, allocations: 4.875 kB / 0.5367 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3875, allocations: 42.61 kB / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3875, allocations: 7.875 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3877, allocations: 29.92 kB / 0.5368 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3877, allocations: 2 kB / 0.5368 GB, free: 8.41 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 (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.0001105/0.3878, allocations: 120.7 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3879, allocations: 13.42 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.3886, allocations: 219.5 kB / 0.5371 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3886, allocations: 1.125 kB / 0.5371 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3886, allocations: 5 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3886, allocations: 4 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.3897, allocations: 0.5168 MB / 0.5377 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3897, allocations: 5.656 kB / 0.5377 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.3899, allocations: 40.52 kB / 0.5377 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3899, allocations: 0 / 0.5377 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.39, allocations: 9.375 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.39, allocations: 0 / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.39, allocations: 1.469 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.3907, allocations: 297 kB / 0.538 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.3908, allocations: 96.12 kB / 0.5381 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3908, allocations: 5.062 kB / 0.5381 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.391, allocations: 25.16 kB / 0.5381 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3911, allocations: 12.98 kB / 0.5381 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3911, allocations: 1.812 kB / 0.5381 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3913, allocations: 130.1 kB / 0.5383 GB, free: 7.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3913, allocations: 0 / 0.5383 GB, free: 7.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.3916, allocations: 45.06 kB / 0.5383 GB, free: 7.215 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 (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 Backend phase and start with SimCode phase: time 0.002794/0.3944, allocations: 1.236 MB / 0.5395 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.3951, allocations: 172.9 kB / 0.5397 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3951, allocations: 1.156 kB / 0.5397 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3955, allocations: 93.55 kB / 0.5398 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3959, allocations: 21.48 kB / 0.5398 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3991, allocations: 1.938 MB / 0.5417 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.3995, allocations: 0.7112 MB / 0.5424 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3996, allocations: 36.62 kB / 0.5424 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3997, allocations: 44.94 kB / 0.5424 GB, free: 3.812 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3997, allocations: 0 / 0.5424 GB, free: 3.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.426, allocations: 4.389 MB / 0.5467 GB, free: 0.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.604, allocations: 1.078 kB / 0.5467 GB, free: 0.957 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches