Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247 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.2237/0.2237, allocations: 46.13 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002863/0.3339, allocations: 1.681 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3349, allocations: 0.5529 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.335, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3352, allocations: 48.77 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.3355, allocations: 99.39 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3358, allocations: 137.3 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3359, allocations: 78.14 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.336, allocations: 21.86 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.3361, allocations: 36.2 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.3362, allocations: 40.34 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3362, allocations: 4.125 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.3363, allocations: 52.97 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.3364, allocations: 20.17 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.3364, allocations: 33.23 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3366, allocations: 121.7 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3366, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3366, allocations: 1.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3366, allocations: 0 / 0.5335 GB, free: 11.2 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.0006158/0.3373, allocations: 426.2 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3373, allocations: 9.625 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3374, allocations: 40.11 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3374, allocations: 14.17 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3376, allocations: 196 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.3376, allocations: 5.844 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3376, allocations: 14.73 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3378, allocations: 62.77 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3378, allocations: 1.312 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3378, allocations: 0 / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3379, allocations: 1.281 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.338, allocations: 42.36 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3384, allocations: 306.6 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3386, allocations: 54.95 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.3387, allocations: 24.81 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3387, allocations: 5.141 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3388, allocations: 39.88 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3388, allocations: 0 / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001422/0.3402, allocations: 396.4 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3403, allocations: 57.75 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3404, allocations: 185.6 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3405, allocations: 30.92 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.3405, allocations: 101.2 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3406, allocations: 39.25 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3406, allocations: 30.23 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3408, allocations: 322 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3409, allocations: 43.69 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.341, allocations: 43.34 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.3413, allocations: 99.62 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3413, allocations: 1.375 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003152/0.3416, allocations: 146.1 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3416, allocations: 5.281 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3417, allocations: 4 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3417, allocations: 5.219 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3418, allocations: 23.8 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3418, allocations: 1.375 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.3419, allocations: 13.14 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3419, allocations: 3.094 kB / 0.5361 GB, free: 8.855 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.0001063/0.342, allocations: 130.6 kB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.342, allocations: 21.16 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.3424, allocations: 165.7 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3425, allocations: 5.062 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3425, allocations: 0.5625 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3425, allocations: 1.125 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.3432, allocations: 478.9 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3432, allocations: 1.125 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3433, allocations: 32.08 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.3433, allocations: 5.891 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3433, allocations: 1.906 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3433, allocations: 0.875 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3433, allocations: 1.25 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3437, allocations: 256.2 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3438, allocations: 84.34 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3438, allocations: 10.19 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.3439, allocations: 14.86 kB / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.344, allocations: 12.39 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.344, allocations: 7.5 kB / 0.5373 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3441, allocations: 136.3 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3441, allocations: 0 / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3444, allocations: 29.44 kB / 0.5375 GB, free: 7.711 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.002197/0.3466, allocations: 1.136 MB / 0.5386 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.347, allocations: 106.2 kB / 0.5387 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.347, allocations: 0 / 0.5387 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3471, allocations: 63.56 kB / 0.5387 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3475, allocations: 19.27 kB / 0.5388 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3499, allocations: 1.793 MB / 0.5405 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3502, allocations: 0.7037 MB / 0.5412 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.3503, allocations: 29.55 kB / 0.5412 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.3504, allocations: 39.3 kB / 0.5413 GB, free: 4.477 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3504, allocations: 1.219 kB / 0.5413 GB, free: 4.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3764, allocations: 3.306 MB / 0.5445 GB, free: 2.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.516, allocations: 15.73 kB / 0.5445 GB, free: 2.664 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches