Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 198 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.494/1.494, 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.2215/0.2215, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 79.86 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003234/0.335, allocations: 1.678 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3361, allocations: 0.5838 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.3362, allocations: 1.281 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.3368, allocations: 457 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.3373, allocations: 293 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.3377, allocations: 180.8 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.338, allocations: 185.2 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3382, allocations: 27.2 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3383, allocations: 112.2 kB / 0.534 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3386, allocations: 216.6 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3387, allocations: 7.875 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3388, allocations: 57.02 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.339, allocations: 87.44 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3391, allocations: 108.7 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3395, allocations: 289.3 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3396, allocations: 0 / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3396, allocations: 1.188 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3396, allocations: 0 / 0.5348 GB, free: 10.59 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.0008653/0.3404, allocations: 0.6768 MB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3405, allocations: 13.09 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.3406, allocations: 40.81 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.3406, allocations: 47.14 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.3409, allocations: 310.2 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.341, allocations: 5.531 kB / 0.5358 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.341, allocations: 7.266 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3412, allocations: 69.12 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3412, allocations: 1.344 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3412, allocations: 0 / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3412, allocations: 5.125 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.3414, allocations: 48.48 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.342, allocations: 415.7 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3423, allocations: 59.83 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.3424, allocations: 37.92 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3424, allocations: 5.281 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3425, allocations: 35.8 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3425, allocations: 0 / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001611/0.3441, allocations: 0.4938 MB / 0.537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3441, allocations: 56.73 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/0.3451, allocations: 0.8763 MB / 0.5379 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3451, allocations: 29.7 kB / 0.5379 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3454, allocations: 221.1 kB / 0.5381 GB, free: 8.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.3454, allocations: 40.05 kB / 0.5381 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3455, allocations: 30.95 kB / 0.5382 GB, free: 7.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3457, allocations: 360.2 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3458, allocations: 56.55 kB / 0.5386 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.346, allocations: 52.58 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.3463, allocations: 124.4 kB / 0.5387 GB, free: 7.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3463, allocations: 0 / 0.5387 GB, free: 7.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003996/0.3467, allocations: 206.8 kB / 0.5389 GB, free: 7.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3467, allocations: 5.969 kB / 0.5389 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3467, allocations: 0 / 0.5389 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3467, allocations: 5.156 kB / 0.5389 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3469, allocations: 28.45 kB / 0.539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3469, allocations: 0 / 0.539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.347, allocations: 14.92 kB / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.347, allocations: 5.969 kB / 0.539 GB, free: 7.352 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.0001985/0.3472, allocations: 216.9 kB / 0.5392 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.3473, allocations: 46.77 kB / 0.5392 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.3478, allocations: 238.8 kB / 0.5395 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3478, allocations: 6.25 kB / 0.5395 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3478, allocations: 7.938 kB / 0.5395 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3478, allocations: 4 kB / 0.5395 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008859/0.3487, allocations: 0.5998 MB / 0.5401 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3487, allocations: 1.75 kB / 0.5401 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3488, allocations: 31.69 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3488, allocations: 1.25 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3489, allocations: 2.25 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3489, allocations: 1.438 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3489, allocations: 1.094 kB / 0.5401 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.3493, allocations: 310.8 kB / 0.5404 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.3494, allocations: 116.5 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3495, allocations: 1.562 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3496, allocations: 10.3 kB / 0.5405 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3496, allocations: 12.42 kB / 0.5405 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3496, allocations: 6.781 kB / 0.5406 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006502/0.3503, allocations: 0.6589 MB / 0.5412 GB, free: 5.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3503, allocations: 4 kB / 0.5412 GB, free: 5.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.3506, allocations: 34.81 kB / 0.5412 GB, free: 5.797 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.00229/0.3529, allocations: 1.19 MB / 0.5424 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.3533, allocations: 132.5 kB / 0.5425 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3533, allocations: 0 / 0.5425 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3534, allocations: 67.05 kB / 0.5426 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3539, allocations: 38.44 kB / 0.5426 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.3583, allocations: 3.552 MB / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.3588, allocations: 0.8418 MB / 0.5469 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3589, allocations: 28.52 kB / 0.5469 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3591, allocations: 131.3 kB / 0.5471 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3591, allocations: 0 / 0.5471 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3884, allocations: 6.683 MB / 0.5536 GB, free: 9.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.783, allocations: 7.984 kB / 0.5536 GB, free: 9.898 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_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_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches