Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3759, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003242/0.3791, allocations: 1.686 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.3802, allocations: 0.5499 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.3802, allocations: 1.375 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3805, allocations: 54.34 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3809, allocations: 97.97 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3812, allocations: 141.2 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3814, allocations: 84.41 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3815, allocations: 17.39 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.3816, allocations: 38.05 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3817, allocations: 48.52 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3817, allocations: 4.594 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3818, allocations: 57.03 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.3819, allocations: 24.27 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.3819, allocations: 34.97 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.3821, allocations: 122.1 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3822, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3822, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3822, allocations: 0 / 0.5334 GB, free: 11.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005452/0.3827, allocations: 424.7 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3828, allocations: 10.5 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.3828, allocations: 36.23 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3828, allocations: 13.16 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3831, allocations: 205.1 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3831, allocations: 5.844 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3831, allocations: 2.938 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3833, allocations: 63.52 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3833, allocations: 0 / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3833, allocations: 5.719 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3833, allocations: 3.938 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3835, allocations: 54.66 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3839, allocations: 312.3 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3842, allocations: 57.95 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.3843, allocations: 25.34 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3843, allocations: 9.359 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3843, allocations: 30.56 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3844, allocations: 1.375 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001393/0.3857, allocations: 393.9 kB / 0.535 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3858, allocations: 56.78 kB / 0.5351 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.386, allocations: 194.6 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.386, allocations: 29.7 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3861, allocations: 105.5 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3861, allocations: 39.52 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3862, allocations: 25.97 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3863, allocations: 326.9 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3864, allocations: 46.88 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3866, allocations: 44.41 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3868, allocations: 95.94 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3868, allocations: 0 / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002873/0.3871, allocations: 143.4 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3871, allocations: 4.438 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3871, allocations: 1.125 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3871, allocations: 3.938 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3873, allocations: 28.3 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3873, allocations: 1.156 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.3874, allocations: 17.86 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3874, allocations: 3.344 kB / 0.5361 GB, free: 8.883 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 (11): * Single equations (assignments): 11 * 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.0001071/0.3875, allocations: 131.9 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3875, allocations: 13.19 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.3879, allocations: 163 kB / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3879, allocations: 5.281 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3879, allocations: 1.25 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3879, allocations: 0 / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.3886, allocations: 480.5 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3886, allocations: 1.375 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3887, allocations: 32.38 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3887, allocations: 1.375 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3888, allocations: 6.406 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3888, allocations: 5.156 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3888, allocations: 1.531 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.3891, allocations: 259.4 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3892, allocations: 96.73 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3893, allocations: 9.359 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.3894, allocations: 7.531 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.3894, allocations: 12.95 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3894, allocations: 2.969 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3895, allocations: 156.6 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3896, allocations: 1.344 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3898, allocations: 25.02 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001594/0.3914, allocations: 1.14 MB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3917, allocations: 110.1 kB / 0.5387 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3918, allocations: 4 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3919, allocations: 62.92 kB / 0.5387 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3923, allocations: 16.12 kB / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3944, allocations: 1.837 MB / 0.5406 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3947, allocations: 0.7129 MB / 0.5412 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.3948, allocations: 18.56 kB / 0.5413 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.3948, allocations: 40.02 kB / 0.5413 GB, free: 4.473 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3948, allocations: 96 / 0.5413 GB, free: 4.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.4176, allocations: 3.409 MB / 0.5446 GB, free: 2.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.204, allocations: 17.2 kB / 0.5447 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches