Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, 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.001432/0.001433, 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.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 83.86 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002866/0.326, allocations: 1.652 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.327, allocations: 0.5488 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.327, allocations: 1.375 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.3276, allocations: 456.9 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.3281, allocations: 291.7 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3284, allocations: 125.9 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3286, allocations: 175.9 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3288, allocations: 14.86 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3289, allocations: 105.5 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.3291, allocations: 218.5 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3291, allocations: 12.06 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3293, allocations: 32.61 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3294, allocations: 82.48 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.3295, allocations: 102.6 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.3298, allocations: 266.7 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3298, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3298, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3298, allocations: 1.25 kB / 0.5346 GB, free: 10.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007559/0.3306, allocations: 0.659 MB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3306, allocations: 17.19 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.3307, allocations: 35.88 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.3307, allocations: 47.14 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.331, allocations: 307.7 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3311, allocations: 1.688 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3311, allocations: 2.719 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3312, allocations: 58.33 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3313, allocations: 0 / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3313, allocations: 0 / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3313, allocations: 1.031 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.3314, allocations: 30.86 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3318, allocations: 398.9 kB / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.332, allocations: 40.56 kB / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.3321, allocations: 15.56 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3321, allocations: 4.938 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3322, allocations: 39.66 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3322, allocations: 0 / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005951/0.3328, allocations: 229.2 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3328, allocations: 52.44 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.3338, allocations: 0.8763 MB / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3338, allocations: 29.7 kB / 0.5374 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.334, allocations: 226.7 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.334, allocations: 13.16 kB / 0.5376 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.334, allocations: 22.2 kB / 0.5376 GB, free: 8.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3342, allocations: 360.5 kB / 0.5379 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.3343, allocations: 18.48 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.3344, allocations: 19.2 kB / 0.538 GB, free: 7.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3345, allocations: 48.39 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3345, allocations: 0 / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002224/0.3347, allocations: 129.2 kB / 0.5381 GB, free: 7.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3348, allocations: 4.562 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3348, allocations: 0 / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3348, allocations: 1.188 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.3349, allocations: 17.23 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3349, allocations: 5.219 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.3349, allocations: 15.42 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.335, allocations: 1.281 kB / 0.5382 GB, free: 7.762 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 (5): * Single equations (assignments): 5 * 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.0001797/0.3351, allocations: 209.2 kB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3352, allocations: 43.59 kB / 0.5384 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3355, allocations: 139.7 kB / 0.5386 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3355, allocations: 0 / 0.5386 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3355, allocations: 5.656 kB / 0.5386 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3355, allocations: 3.938 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.3361, allocations: 460.2 kB / 0.539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3361, allocations: 0 / 0.539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.3361, allocations: 13.55 kB / 0.539 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3362, allocations: 0 / 0.539 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3362, allocations: 9.156 kB / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3362, allocations: 0 / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3362, allocations: 5.281 kB / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3364, allocations: 211 kB / 0.5392 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.3365, allocations: 117.9 kB / 0.5394 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3366, allocations: 5.125 kB / 0.5394 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.3366, allocations: 3.406 kB / 0.5394 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3367, allocations: 6.234 kB / 0.5394 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3367, allocations: 6.312 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006566/0.3374, allocations: 0.6584 MB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3374, allocations: 0 / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.3376, allocations: 27.53 kB / 0.54 GB, free: 6.434 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 (5): * Single equations (assignments): 5 * 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.001892/0.3395, allocations: 1.053 MB / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3397, allocations: 44.53 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3397, allocations: 0 / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.3398, allocations: 27.98 kB / 0.5411 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3402, allocations: 35.09 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.3439, allocations: 3.249 MB / 0.5443 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3444, allocations: 0.8259 MB / 0.5452 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.3444, allocations: 12.23 kB / 0.5452 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3446, allocations: 107.4 kB / 0.5453 GB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3446, allocations: 0 / 0.5453 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.3715, allocations: 6.043 MB / 0.5512 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.733, allocations: 4.953 kB / 0.5512 GB, free: 12.41 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches