Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.001755, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3129, allocations: 62.46 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002902/0.3158, allocations: 1.611 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.3168, allocations: 0.5312 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.3168, allocations: 1.594 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.3174, allocations: 460.1 kB / 0.5332 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.3178, allocations: 293 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3182, allocations: 128.2 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.3184, allocations: 161.1 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3185, allocations: 17.67 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3187, allocations: 109.5 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.3189, allocations: 205.8 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.319, allocations: 2.219 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.3191, allocations: 23.67 kB / 0.5341 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3192, allocations: 73.2 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3193, allocations: 114.8 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.3196, allocations: 254.1 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3196, allocations: 3.938 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3196, allocations: 1.094 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.3196, allocations: 0 / 0.5345 GB, free: 10.78 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.0007976/0.3205, allocations: 0.6499 MB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3205, allocations: 9.938 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.3205, allocations: 34.75 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.3206, allocations: 47.92 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3209, allocations: 311.1 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.321, allocations: 4.359 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.321, allocations: 6.625 kB / 0.5355 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3211, allocations: 55.14 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3211, allocations: 0 / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.3212, allocations: 1.125 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3212, allocations: 0 / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.3212, allocations: 21.08 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.3217, allocations: 379.8 kB / 0.536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.3218, allocations: 26.33 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3219, allocations: 18.88 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3219, allocations: 1.156 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3219, allocations: 31.56 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.322, allocations: 4 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002705/0.3222, allocations: 98.52 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3223, allocations: 51.41 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.3233, allocations: 0.8726 MB / 0.537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3233, allocations: 25.7 kB / 0.5371 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.3235, allocations: 227 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.3235, allocations: 11.88 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3235, allocations: 16.31 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3237, allocations: 369 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.3238, allocations: 8.016 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.3238, allocations: 10.56 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.3239, allocations: 23.28 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3239, allocations: 0 / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001658/0.3241, allocations: 99.05 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3241, allocations: 5.094 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3241, allocations: 0 / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3241, allocations: 0 / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3242, allocations: 5.406 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3242, allocations: 3.938 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3243, allocations: 1.781 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3243, allocations: 5.312 kB / 0.5378 GB, free: 8.02 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.0001897/0.3245, allocations: 209.8 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3245, allocations: 49.19 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.3248, allocations: 108.5 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3248, allocations: 4 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3248, allocations: 0 / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3248, allocations: 5.234 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.3251, allocations: 286.9 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3251, allocations: 0.9375 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.3252, allocations: 8.219 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3252, allocations: 0 / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3252, allocations: 5.156 kB / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3252, allocations: 0 / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3252, allocations: 4.875 kB / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3254, allocations: 188 kB / 0.5386 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.3255, allocations: 114.9 kB / 0.5387 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3256, allocations: 1.125 kB / 0.5387 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.3256, allocations: 13.3 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3257, allocations: 1.219 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3257, allocations: 1.188 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.3265, allocations: 0.6627 MB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3265, allocations: 1.219 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3267, allocations: 14.09 kB / 0.5394 GB, free: 6.863 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.001622/0.3283, allocations: 0.9633 MB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3285, allocations: 29.61 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3285, allocations: 0 / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.3285, allocations: 11.14 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3289, allocations: 28.62 kB / 0.5404 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.3326, allocations: 3.15 MB / 0.5435 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3331, allocations: 0.8208 MB / 0.5443 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.3331, allocations: 13.12 kB / 0.5443 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3333, allocations: 114.8 kB / 0.5444 GB, free: 3.098 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3333, allocations: 1.5 kB / 0.5444 GB, free: 3.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3613, allocations: 5.741 MB / 0.55 GB, free: 13.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.616, allocations: 8 kB / 0.55 GB, free: 13.55 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches