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.001744/0.001744, allocations: 122.8 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.001966/0.001966, allocations: 201.2 kB / 18.73 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.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.279/0.279, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.00234, allocations: 83.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3191, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003199/0.3223, allocations: 1.609 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.3234, allocations: 0.5294 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.3234, allocations: 0 / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.324, allocations: 460.9 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.3245, allocations: 292.2 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.325, allocations: 129.5 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.3253, allocations: 163.6 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3254, allocations: 19.05 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3256, allocations: 109.5 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.3259, allocations: 205.9 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3259, allocations: 2.719 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.326, allocations: 22.02 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3261, allocations: 77.89 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3262, allocations: 114.6 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.3266, allocations: 253.9 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3266, allocations: 1 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3266, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3267, allocations: 0 / 0.5345 GB, free: 10.79 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.0009665/0.3276, allocations: 0.654 MB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3277, allocations: 9.25 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.3277, allocations: 35.84 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.3278, allocations: 47.33 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.3282, allocations: 307.2 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3282, allocations: 1.562 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3282, allocations: 5.375 kB / 0.5355 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3284, allocations: 46.94 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3284, allocations: 5.234 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3284, allocations: 4 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3284, allocations: 1.281 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.3285, allocations: 19.89 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.3291, allocations: 375.8 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.3292, allocations: 31.52 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.3293, allocations: 19.22 kB / 0.536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3293, allocations: 0 / 0.536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3293, allocations: 32.38 kB / 0.536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3293, allocations: 0 / 0.536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003011/0.3297, allocations: 100.6 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3297, allocations: 56.81 kB / 0.5362 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3307, allocations: 0.8722 MB / 0.537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3308, allocations: 26.8 kB / 0.537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.331, allocations: 229.3 kB / 0.5373 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.331, allocations: 13.16 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.331, allocations: 12.06 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3312, allocations: 368.5 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.3313, allocations: 8.797 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.3313, allocations: 9.25 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.3314, allocations: 24.28 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3314, allocations: 0 / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.3316, allocations: 93.53 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3316, allocations: 13.42 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3317, allocations: 1.125 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3317, allocations: 0 / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3317, allocations: 4.875 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3318, allocations: 0 / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.3318, allocations: 6.75 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3318, allocations: 8.844 kB / 0.5378 GB, free: 8.027 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.0002154/0.3321, allocations: 209.3 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.3321, allocations: 41.66 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3324, allocations: 111.3 kB / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3324, allocations: 1.531 kB / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3324, allocations: 0 / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3324, allocations: 0 / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3327, allocations: 288.4 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3327, allocations: 0 / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.3328, allocations: 8.031 kB / 0.5384 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3328, allocations: 1.688 kB / 0.5384 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3328, allocations: 4.031 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3328, allocations: 4 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3328, allocations: 1.469 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3331, allocations: 188.5 kB / 0.5386 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.3332, allocations: 114.3 kB / 0.5387 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.3332, allocations: 0 / 0.5387 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.3333, allocations: 5.766 kB / 0.5387 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3333, allocations: 9.438 kB / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3333, allocations: 5.578 kB / 0.5387 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007516/0.3341, allocations: 0.6625 MB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3341, allocations: 0 / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3344, allocations: 15.5 kB / 0.5394 GB, free: 6.879 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.00183/0.3362, allocations: 0.956 MB / 0.5403 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3364, allocations: 21.48 kB / 0.5404 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3364, allocations: 4.062 kB / 0.5404 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.3364, allocations: 19.27 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3369, allocations: 32.84 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.3413, allocations: 3.146 MB / 0.5435 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.3419, allocations: 0.8207 MB / 0.5443 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.3419, allocations: 12.78 kB / 0.5443 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3421, allocations: 119.6 kB / 0.5444 GB, free: 3.109 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3421, allocations: 0 / 0.5444 GB, free: 3.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.374, allocations: 5.725 MB / 0.55 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.524/8.899, allocations: 7.297 kB / 0.55 GB, free: 13.59 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/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