Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001817, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 204.6 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002927/0.324, allocations: 1.653 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.325, allocations: 0.551 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.3251, allocations: 2.156 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.3256, allocations: 452.3 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.326, allocations: 295.5 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3264, allocations: 126.5 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3266, allocations: 170.6 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.3267, allocations: 14.89 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3268, allocations: 110.7 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.327, allocations: 210.5 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3271, allocations: 2.75 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.3271, allocations: 37.92 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.866e-05/0.3272, allocations: 86.12 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.3273, allocations: 106.1 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.3276, allocations: 258.1 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3277, allocations: 5.031 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3277, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3277, allocations: 0 / 0.5346 GB, free: 10.73 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.0007262/0.3284, allocations: 0.6553 MB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3285, allocations: 9.812 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.3285, allocations: 44.02 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.3286, allocations: 46.89 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3289, allocations: 307.4 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3289, allocations: 6.188 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3289, allocations: 6.406 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.329, allocations: 57.86 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3291, allocations: 0.8125 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3291, allocations: 0 / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3291, allocations: 1.312 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.3292, allocations: 22.86 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.3296, allocations: 399.4 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3298, allocations: 43.78 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.3299, allocations: 15.45 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3299, allocations: 1.188 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3299, allocations: 35.61 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.33, allocations: 0 / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006038/0.3306, allocations: 240.7 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3306, allocations: 56.44 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.3315, allocations: 0.872 MB / 0.5373 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3315, allocations: 30.73 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3317, allocations: 226.5 kB / 0.5376 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3317, allocations: 16.94 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3317, allocations: 18.22 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3319, allocations: 364.2 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.332, allocations: 18.83 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.3321, allocations: 23.89 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3322, allocations: 43.61 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3322, allocations: 0 / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002201/0.3324, allocations: 124.5 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3325, allocations: 7.812 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3325, allocations: 0 / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3325, allocations: 1.125 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.3325, allocations: 17.67 kB / 0.5382 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3326, allocations: 0 / 0.5382 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.3326, allocations: 8.375 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3326, allocations: 8.984 kB / 0.5382 GB, free: 7.801 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.0001788/0.3328, allocations: 210 kB / 0.5384 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.3329, allocations: 46.38 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3332, allocations: 140.4 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3332, allocations: 0 / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3332, allocations: 0 / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3332, allocations: 5.438 kB / 0.5386 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.3337, allocations: 458.8 kB / 0.539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3337, allocations: 5.656 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.3338, allocations: 8.406 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3338, allocations: 9.594 kB / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3338, allocations: 7.922 kB / 0.539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3338, allocations: 1.281 kB / 0.539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3338, allocations: 0 / 0.539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3341, allocations: 223.4 kB / 0.5393 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.3342, allocations: 114.7 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.3342, allocations: 4.875 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.3343, allocations: 3.219 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3344, allocations: 6.766 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3344, allocations: 1.562 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.335, allocations: 0.6581 MB / 0.54 GB, free: 6.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.335, allocations: 1.375 kB / 0.54 GB, free: 6.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3353, allocations: 25.94 kB / 0.54 GB, free: 6.465 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.001858/0.3371, allocations: 1.049 MB / 0.5411 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3373, allocations: 48.48 kB / 0.5411 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3373, allocations: 4 kB / 0.5411 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.3374, allocations: 23.7 kB / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3378, allocations: 28.97 kB / 0.5412 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.3414, allocations: 3.242 MB / 0.5443 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3419, allocations: 0.8298 MB / 0.5452 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.3419, allocations: 8 kB / 0.5452 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3421, allocations: 107.4 kB / 0.5453 GB, free: 2.395 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3421, allocations: 0 / 0.5453 GB, free: 2.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.3686, allocations: 6.055 MB / 0.5512 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.633, allocations: 7.453 kB / 0.5512 GB, free: 12.41 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches