Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 122.5 kB / 17.78 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.001658/0.001658, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003082/0.003082, allocations: 83.86 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3572, allocations: 62.46 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002818/0.3601, allocations: 1.611 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.361, allocations: 0.5344 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.3611, allocations: 1.312 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.3616, allocations: 452.2 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3621, allocations: 292.8 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.3624, allocations: 124.3 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3626, allocations: 169 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.3627, allocations: 13.67 kB / 0.5337 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3628, allocations: 101.5 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.363, allocations: 209.6 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3631, allocations: 2.844 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.3631, allocations: 26.77 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3632, allocations: 77.45 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.3633, allocations: 107.2 kB / 0.5342 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3636, allocations: 257.8 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3637, allocations: 0 / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3637, allocations: 1.125 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3637, allocations: 0 / 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.0007544/0.3644, allocations: 0.6493 MB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3645, allocations: 10.34 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.3645, allocations: 38.62 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.3646, allocations: 47.3 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3649, allocations: 310.8 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3649, allocations: 5.406 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3649, allocations: 6.875 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3651, allocations: 46.58 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3651, allocations: 1.5 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3651, allocations: 0 / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3651, allocations: 0 / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.3652, allocations: 20.64 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.3656, allocations: 384 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.3657, allocations: 26.92 kB / 0.536 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.3658, allocations: 15.22 kB / 0.536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3658, allocations: 0 / 0.536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3659, allocations: 35.72 kB / 0.536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.3659, allocations: 0 / 0.536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002653/0.3661, allocations: 106.6 kB / 0.5361 GB, free: 9.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.3662, allocations: 51.41 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.3671, allocations: 0.8688 MB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3671, allocations: 30.89 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3673, allocations: 225.3 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3673, allocations: 13.16 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3673, allocations: 12.66 kB / 0.5373 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3675, allocations: 367 kB / 0.5376 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.3676, allocations: 9.359 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.3676, allocations: 5.312 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.3677, allocations: 24.88 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3677, allocations: 3.938 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001486/0.3678, allocations: 93.95 kB / 0.5378 GB, free: 7.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3679, allocations: 8.656 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3679, allocations: 1.281 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3679, allocations: 0 / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.12e-05/0.368, allocations: 4.625 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.368, allocations: 0 / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.368, allocations: 7.438 kB / 0.5378 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.368, allocations: 3.938 kB / 0.5378 GB, free: 7.98 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.0002011/0.3682, allocations: 217.4 kB / 0.538 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.3683, allocations: 42.25 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.3685, allocations: 107.4 kB / 0.5382 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3685, allocations: 1.562 kB / 0.5382 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3685, allocations: 3.984 kB / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3685, allocations: 0 / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3688, allocations: 287.4 kB / 0.5384 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3688, allocations: 1.344 kB / 0.5384 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.3689, allocations: 8.656 kB / 0.5384 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3689, allocations: 0 / 0.5384 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3689, allocations: 0 / 0.5384 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3689, allocations: 5.344 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3689, allocations: 0 / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.3691, allocations: 200.7 kB / 0.5386 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.3692, allocations: 113.9 kB / 0.5387 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3692, allocations: 5.328 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.3693, allocations: 1.312 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3693, allocations: 5.281 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3694, allocations: 1.031 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.37, allocations: 0.6637 MB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.37, allocations: 0 / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3703, allocations: 19.28 kB / 0.5394 GB, free: 6.82 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.001565/0.3718, allocations: 0.9533 MB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.372, allocations: 25.61 kB / 0.5404 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.372, allocations: 5.562 kB / 0.5404 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.372, allocations: 14.39 kB / 0.5404 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3725, allocations: 27.73 kB / 0.5404 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.3759, allocations: 3.157 MB / 0.5435 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.3764, allocations: 0.8218 MB / 0.5443 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.071e-05/0.3764, allocations: 13.28 kB / 0.5443 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3766, allocations: 115.1 kB / 0.5444 GB, free: 3.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3766, allocations: 0 / 0.5444 GB, free: 3.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.4032, allocations: 5.733 MB / 0.55 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.626, allocations: 7.219 kB / 0.55 GB, free: 13.54 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches