Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 113.2 kB / 17.78 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.002126/0.002127, allocations: 207.8 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.481/1.481, 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.2279/0.2279, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 83.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.334, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003649/0.3377, allocations: 2.061 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3397, allocations: 1.118 MB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3399, allocations: 4.125 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.3403, allocations: 265.4 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.3409, allocations: 265.2 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3423, allocations: 0.6512 MB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.3428, allocations: 350.7 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.343, allocations: 77.08 kB / 0.5353 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3432, allocations: 150.6 kB / 0.5354 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3435, allocations: 210 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.3435, allocations: 11.03 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.3437, allocations: 102 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3439, allocations: 101.6 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.344, allocations: 126.1 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3445, allocations: 374.2 kB / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3445, allocations: 1.062 kB / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3445, allocations: 0 / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3445, allocations: 0 / 0.5363 GB, free: 9.305 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008926/0.3454, allocations: 0.7218 MB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3454, allocations: 9.406 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.3455, allocations: 42.7 kB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.3456, allocations: 48.25 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.346, allocations: 353.6 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.346, allocations: 9.344 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3461, allocations: 15.23 kB / 0.5375 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.3463, allocations: 135.6 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3464, allocations: 4.953 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3464, allocations: 9.375 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3464, allocations: 2.625 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3466, allocations: 90.03 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.3473, allocations: 0.5227 MB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3475, allocations: 104.8 kB / 0.5383 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.3476, allocations: 47.58 kB / 0.5383 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3477, allocations: 3.469 kB / 0.5383 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3477, allocations: 39.62 kB / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3477, allocations: 0 / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001053/0.3488, allocations: 453.1 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3488, allocations: 57.81 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.3496, allocations: 0.6063 MB / 0.5395 GB, free: 6.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3496, allocations: 25.7 kB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3498, allocations: 217.3 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.3498, allocations: 57.38 kB / 0.5397 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3499, allocations: 35.02 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3501, allocations: 352.7 kB / 0.5401 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3502, allocations: 69.92 kB / 0.5402 GB, free: 6.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3504, allocations: 68.58 kB / 0.5402 GB, free: 6.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3507, allocations: 164.4 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3507, allocations: 0 / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004037/0.3511, allocations: 230.1 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3511, allocations: 4.812 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3511, allocations: 5.266 kB / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3511, allocations: 5.25 kB / 0.5406 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3513, allocations: 30.7 kB / 0.5407 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3513, allocations: 5.281 kB / 0.5407 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.3514, allocations: 8.406 kB / 0.5407 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3514, allocations: 12.45 kB / 0.5407 GB, free: 5.895 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 (17): * Single equations (assignments): 17 * 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.0001899/0.3516, allocations: 183 kB / 0.5409 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.3517, allocations: 46.67 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.3522, allocations: 290.8 kB / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3523, allocations: 2.281 kB / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3523, allocations: 3.938 kB / 0.5412 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3523, allocations: 5.094 kB / 0.5412 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.3532, allocations: 0.6919 MB / 0.5419 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3532, allocations: 0 / 0.5419 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3534, allocations: 30.36 kB / 0.5419 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3534, allocations: 5.094 kB / 0.5419 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3534, allocations: 10.17 kB / 0.5419 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3534, allocations: 5.031 kB / 0.5419 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3534, allocations: 0 / 0.5419 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3539, allocations: 334 kB / 0.5422 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.354, allocations: 123.2 kB / 0.5424 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3541, allocations: 1.156 kB / 0.5424 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3542, allocations: 17.28 kB / 0.5424 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3542, allocations: 9.828 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3543, allocations: 8.438 kB / 0.5424 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.3548, allocations: 447.6 kB / 0.5428 GB, free: 4.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 1.25 kB / 0.5428 GB, free: 4.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000317/0.3551, allocations: 54.67 kB / 0.5429 GB, free: 4.344 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 (17): * Single equations (assignments): 17 * 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.003352/0.3585, allocations: 1.462 MB / 0.5443 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3588, allocations: 168.2 kB / 0.5445 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3588, allocations: 0 / 0.5445 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.359, allocations: 95.52 kB / 0.5446 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.3596, allocations: 79.95 kB / 0.5446 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.3639, allocations: 3.344 MB / 0.5479 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.3644, allocations: 0.8298 MB / 0.5487 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.3646, allocations: 62.22 kB / 0.5488 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.3648, allocations: 139.4 kB / 0.5489 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3648, allocations: 0 / 0.5489 GB, free: 14.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3962, allocations: 7.882 MB / 0.5566 GB, free: 6.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.648, allocations: 2.969 kB / 0.5566 GB, free: 6.992 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches