Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 121.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 199.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 79.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3617, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003357/0.3651, allocations: 1.648 MB / 0.5321 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.3661, allocations: 0.6921 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3661, allocations: 1.781 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3664, allocations: 27.03 kB / 0.5328 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.3666, allocations: 40.36 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.3666, allocations: 1.844 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3668, allocations: 30.2 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.3669, allocations: 7.906 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.3669, allocations: 8.406 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.367, allocations: 23.08 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.367, allocations: 3.938 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.367, allocations: 11.7 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.3671, allocations: 15.56 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.3671, allocations: 21.94 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3673, allocations: 70.64 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3673, allocations: 3.984 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3673, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3673, allocations: 4 kB / 0.5331 GB, free: 11.41 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004205/0.3678, allocations: 372.4 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3678, allocations: 9.219 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.3679, allocations: 35.84 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.3679, allocations: 6.219 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3681, allocations: 175.1 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3681, allocations: 1.75 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.3681, allocations: 3.125 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3683, allocations: 129.3 kB / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3683, allocations: 3.938 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3683, allocations: 1.375 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.3684, allocations: 19.11 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.3685, allocations: 47.22 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.3691, allocations: 0.8945 MB / 0.5347 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.3692, allocations: 170.5 kB / 0.5349 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.3693, allocations: 84.08 kB / 0.5349 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3693, allocations: 75.28 kB / 0.535 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.3694, allocations: 107.2 kB / 0.5351 GB, free: 9.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3694, allocations: 0 / 0.5351 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.035e-05/0.3695, allocations: 37.77 kB / 0.5352 GB, free: 9.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3695, allocations: 136.1 kB / 0.5353 GB, free: 9.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3697, allocations: 184.8 kB / 0.5355 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3698, allocations: 25.7 kB / 0.5355 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.3699, allocations: 151.4 kB / 0.5356 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.3699, allocations: 6.75 kB / 0.5356 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.3699, allocations: 43.36 kB / 0.5357 GB, free: 8.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3701, allocations: 319 kB / 0.536 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.3701, allocations: 33.81 kB / 0.536 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3703, allocations: 165.1 kB / 0.5362 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3705, allocations: 203 kB / 0.5364 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3705, allocations: 1.75 kB / 0.5364 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003462/0.3709, allocations: 201.5 kB / 0.5366 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3709, allocations: 6.438 kB / 0.5366 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3709, allocations: 4.406 kB / 0.5366 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3709, allocations: 11.28 kB / 0.5366 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3711, allocations: 40.05 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3711, allocations: 13.97 kB / 0.5366 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3712, allocations: 20.25 kB / 0.5367 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3712, allocations: 14.09 kB / 0.5367 GB, free: 7.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001226/0.3713, allocations: 213.5 kB / 0.5369 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.3714, allocations: 117.4 kB / 0.537 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.3715, allocations: 118.3 kB / 0.5371 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/0.3716, allocations: 184.3 kB / 0.5373 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/0.3716, allocations: 185.4 kB / 0.5374 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.093e-05/0.3717, allocations: 185.4 kB / 0.5376 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3719, allocations: 424.8 kB / 0.538 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/0.372, allocations: 102.4 kB / 0.5381 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.372, allocations: 106.2 kB / 0.5382 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.3721, allocations: 184.2 kB / 0.5384 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.3722, allocations: 177.4 kB / 0.5386 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.287e-05/0.3722, allocations: 185.3 kB / 0.5387 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-05/0.3723, allocations: 177.4 kB / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3724, allocations: 322.6 kB / 0.5392 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.3725, allocations: 184.4 kB / 0.5394 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.3726, allocations: 185.2 kB / 0.5396 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.3727, allocations: 106.1 kB / 0.5397 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3728, allocations: 181.3 kB / 0.5399 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3728, allocations: 102.1 kB / 0.5399 GB, free: 4.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3729, allocations: 133.3 kB / 0.5401 GB, free: 4.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 0 / 0.5401 GB, free: 4.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.3732, allocations: 12.09 kB / 0.5401 GB, free: 4.172 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 (0): * Single equations (assignments): 0 * 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.000752/0.374, allocations: 0.9142 MB / 0.541 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3742, allocations: 77.38 kB / 0.5411 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3742, allocations: 1.094 kB / 0.5411 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3742, allocations: 0 / 0.5411 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3746, allocations: 464.4 kB / 0.5415 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3764, allocations: 1.884 MB / 0.5433 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3767, allocations: 0.7028 MB / 0.544 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.3769, allocations: 50.8 kB / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.377, allocations: 25.89 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.377, allocations: 1 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3976, allocations: 2.11 MB / 0.5462 GB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.807, allocations: 7.094 kB / 0.5462 GB, free: 15.03 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches