Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002248/0.002248, allocations: 202 kB / 18.73 MB, free: 4.32 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 / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.81 kB / 480.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3602, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002984/0.3632, allocations: 1.682 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3643, allocations: 0.561 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.3643, allocations: 0.8438 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.3646, allocations: 52.08 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.3649, allocations: 97.81 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3653, allocations: 143.1 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3655, allocations: 82.7 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3656, allocations: 26.17 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.3657, allocations: 38.97 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3658, allocations: 48.39 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3658, allocations: 9.125 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3659, allocations: 44.23 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.366, allocations: 24.53 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.3661, allocations: 38.95 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.3663, allocations: 121.3 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3663, allocations: 0 / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3663, allocations: 0 / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3663, allocations: 0 / 0.5334 GB, free: 11.22 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005422/0.3669, allocations: 420.1 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3669, allocations: 10.09 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.367, allocations: 36.25 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.367, allocations: 13.34 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3672, allocations: 211.2 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3672, allocations: 7 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3673, allocations: 3.125 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3674, allocations: 66.97 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3675, allocations: 4 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3675, allocations: 1.25 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3675, allocations: 1.25 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3676, allocations: 42.59 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.368, allocations: 303.2 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3683, allocations: 61.95 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.3683, allocations: 25.34 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3684, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3684, allocations: 35.94 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3684, allocations: 0 / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001458/0.3699, allocations: 401.4 kB / 0.535 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3699, allocations: 56.78 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.3701, allocations: 194.5 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3702, allocations: 27.08 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3703, allocations: 105.6 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3703, allocations: 39.56 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.3704, allocations: 24.58 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3705, allocations: 331 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3707, allocations: 39.84 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3708, allocations: 44.09 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.3711, allocations: 107.2 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3711, allocations: 0.9688 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003206/0.3714, allocations: 142.5 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3714, allocations: 4.469 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3714, allocations: 1.094 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3715, allocations: 3.938 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3716, allocations: 32.2 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3716, allocations: 1.125 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.3717, allocations: 14.95 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3717, allocations: 2.281 kB / 0.5361 GB, free: 8.875 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 (11): * Single equations (assignments): 11 * 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.0001117/0.3718, allocations: 126.9 kB / 0.5362 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.3719, allocations: 9.625 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.3723, allocations: 167.4 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3723, allocations: 5.062 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3723, allocations: 4.5 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3723, allocations: 1.125 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.3731, allocations: 468.3 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3731, allocations: 5.344 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3732, allocations: 40.19 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3732, allocations: 1 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3732, allocations: 2.219 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3732, allocations: 0.9688 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3732, allocations: 1.25 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3736, allocations: 268.6 kB / 0.5372 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3737, allocations: 84.7 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3737, allocations: 5.672 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.3738, allocations: 9.531 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3738, allocations: 9.141 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3739, allocations: 3.688 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.374, allocations: 154.3 kB / 0.5374 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.374, allocations: 0 / 0.5374 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3742, allocations: 22.31 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001531/0.3758, allocations: 1.14 MB / 0.5385 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.3761, allocations: 110.8 kB / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3762, allocations: 0 / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3763, allocations: 62.19 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3767, allocations: 30.59 kB / 0.5387 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3789, allocations: 1.821 MB / 0.5405 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3792, allocations: 0.7086 MB / 0.5412 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.3793, allocations: 14.27 kB / 0.5412 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3794, allocations: 42.77 kB / 0.5413 GB, free: 4.484 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3794, allocations: 1.312 kB / 0.5413 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.3989, allocations: 3.399 MB / 0.5446 GB, free: 2.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.936, allocations: 16.67 kB / 0.5446 GB, free: 2.625 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches