Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001754, 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.002043/0.002043, 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.377/1.377, 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.2107/0.2107, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3348, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00275/0.3376, allocations: 1.62 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.3385, allocations: 0.5356 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.3386, allocations: 5 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.3391, allocations: 453.7 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.3395, allocations: 287.3 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3399, allocations: 129.5 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.3401, allocations: 170.4 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.3402, allocations: 13.48 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3403, allocations: 106.9 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.3405, allocations: 218.1 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3405, allocations: 3.719 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.3406, allocations: 19.38 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.3407, allocations: 82.66 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.3408, allocations: 102 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3411, allocations: 263.2 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3411, allocations: 3.938 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3412, allocations: 0 / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3412, allocations: 5.125 kB / 0.5345 GB, free: 10.74 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.0007451/0.3419, allocations: 0.665 MB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.342, allocations: 9.188 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.342, allocations: 35.94 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.3421, allocations: 42.91 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3424, allocations: 303.2 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3424, allocations: 1.375 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-06/0.3424, allocations: 2.438 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3425, allocations: 61.78 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3426, allocations: 1.125 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3426, allocations: 4 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3426, allocations: 1.094 kB / 0.5356 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3427, allocations: 33.88 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.3432, allocations: 376.5 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3433, allocations: 40.62 kB / 0.536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.3434, allocations: 22.44 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3434, allocations: 5.859 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3434, allocations: 30.56 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3434, allocations: 0 / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003254/0.3438, allocations: 126.3 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3438, allocations: 52.59 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.3447, allocations: 0.8699 MB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3447, allocations: 26.8 kB / 0.5371 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3449, allocations: 223.9 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3449, allocations: 8.984 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.345, allocations: 13.47 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3452, allocations: 367 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.3452, allocations: 21.02 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.3453, allocations: 13.39 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3454, allocations: 39.62 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3454, allocations: 0 / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001935/0.3456, allocations: 105.9 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3456, allocations: 6.125 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3457, allocations: 4 kB / 0.5379 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3457, allocations: 4 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.3458, allocations: 11.02 kB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3458, allocations: 1.25 kB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.3458, allocations: 7.359 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3459, allocations: 1.125 kB / 0.5379 GB, free: 7.938 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 (3): * Single equations (assignments): 3 * 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.0001884/0.3461, allocations: 217.5 kB / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3461, allocations: 45.91 kB / 0.5382 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3464, allocations: 124 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3464, allocations: 0 / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3464, allocations: 6.078 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3464, allocations: 0 / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3467, allocations: 288.7 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3467, allocations: 0 / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.3468, allocations: 11.36 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3468, allocations: 5.453 kB / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3468, allocations: 0 / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3468, allocations: 4 kB / 0.5386 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3468, allocations: 1.5 kB / 0.5386 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3471, allocations: 207.9 kB / 0.5388 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.3471, allocations: 111.4 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3472, allocations: 4 kB / 0.5389 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.3473, allocations: 8.297 kB / 0.5389 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.3473, allocations: 4 kB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3473, allocations: 1.406 kB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006335/0.3479, allocations: 0.6582 MB / 0.5396 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.923e-06/0.3479, allocations: 0 / 0.5396 GB, free: 6.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3482, allocations: 23.72 kB / 0.5396 GB, free: 6.758 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 (3): * Single equations (assignments): 3 * 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.001634/0.3498, allocations: 0.9835 MB / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.35, allocations: 45.67 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.35, allocations: 4 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.3501, allocations: 16.27 kB / 0.5406 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.000377/0.3505, allocations: 32.45 kB / 0.5406 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.354, allocations: 3.175 MB / 0.5437 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3545, allocations: 0.8259 MB / 0.5446 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.408e-05/0.3545, allocations: 15.81 kB / 0.5446 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3547, allocations: 115.4 kB / 0.5447 GB, free: 2.945 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3547, allocations: 0 / 0.5447 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.3821, allocations: 5.742 MB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.701, allocations: 14.95 kB / 0.5503 GB, free: 13.26 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches