Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001663/0.001663, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, 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.2222/0.2222, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 80.14 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003123/0.3338, allocations: 1.616 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.3348, allocations: 0.5615 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3348, allocations: 1.375 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.3355, allocations: 453.2 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.336, allocations: 295.7 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.3364, allocations: 168.4 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3366, allocations: 174.1 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3368, allocations: 8.25 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3369, allocations: 109.5 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3371, allocations: 210.6 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3371, allocations: 6.75 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.3372, allocations: 27.11 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3374, allocations: 78.55 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.3375, allocations: 103.5 kB / 0.5343 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3378, allocations: 258.9 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3378, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3378, allocations: 1.125 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3378, allocations: 3.938 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.000815/0.3387, allocations: 0.6587 MB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3387, allocations: 8.906 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.3388, allocations: 35.91 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.3388, allocations: 42.88 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3392, allocations: 313.3 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3392, allocations: 4.359 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-06/0.3392, allocations: 2.375 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3393, allocations: 49.75 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3394, allocations: 0 / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3394, allocations: 4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3394, allocations: 1.156 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.3395, allocations: 29.42 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.34, allocations: 390.9 kB / 0.5361 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.3401, allocations: 33.34 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.3402, allocations: 14.66 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3402, allocations: 1.156 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3403, allocations: 43.66 kB / 0.5361 GB, free: 9.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3403, allocations: 0 / 0.5361 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002791/0.3405, allocations: 104.3 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3406, allocations: 52.38 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.3415, allocations: 0.8783 MB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3416, allocations: 25.7 kB / 0.5372 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3418, allocations: 229.6 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.3418, allocations: 9.078 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3418, allocations: 17.44 kB / 0.5374 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.342, allocations: 363.9 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.3421, allocations: 9.719 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.3421, allocations: 9.516 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.3422, allocations: 30.69 kB / 0.5378 GB, free: 7.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3422, allocations: 5 kB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.3424, allocations: 95.08 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3424, allocations: 5.281 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3424, allocations: 0 / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3424, allocations: 1.125 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.3425, allocations: 4.281 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3425, allocations: 0 / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.3426, allocations: 7.062 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3426, allocations: 1.156 kB / 0.5379 GB, free: 7.906 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.0001984/0.3428, allocations: 217.3 kB / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.3429, allocations: 45.92 kB / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3431, allocations: 113.5 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3431, allocations: 4.969 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3431, allocations: 0 / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3432, allocations: 1.312 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3435, allocations: 289.1 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3435, allocations: 4.031 kB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.3435, allocations: 8.578 kB / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3435, allocations: 0 / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3435, allocations: 1.219 kB / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3436, allocations: 0 / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3436, allocations: 1.312 kB / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3438, allocations: 193.5 kB / 0.5388 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.3439, allocations: 118.4 kB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3439, allocations: 1.469 kB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.344, allocations: 1.625 kB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.344, allocations: 5.234 kB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.344, allocations: 5.969 kB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006789/0.3447, allocations: 0.6589 MB / 0.5395 GB, free: 6.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3447, allocations: 0 / 0.5395 GB, free: 6.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.345, allocations: 19.12 kB / 0.5396 GB, free: 6.746 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.001636/0.3466, allocations: 0.9708 MB / 0.5405 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3468, allocations: 27.66 kB / 0.5405 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3468, allocations: 3.938 kB / 0.5405 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.3468, allocations: 11.91 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3472, allocations: 25.83 kB / 0.5406 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.3509, allocations: 3.19 MB / 0.5437 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.3515, allocations: 0.8223 MB / 0.5445 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.3515, allocations: 24.41 kB / 0.5445 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.3517, allocations: 119.3 kB / 0.5446 GB, free: 2.941 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3517, allocations: 0 / 0.5446 GB, free: 2.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.3789, allocations: 5.79 MB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/8.888, allocations: 7.078 kB / 0.5503 GB, free: 13.27 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches