Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002278/0.002278, allocations: 214.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 87.86 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3331, allocations: 66.07 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003192/0.3362, allocations: 1.655 MB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3373, allocations: 0.7634 MB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.3373, allocations: 0 / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.3376, allocations: 27.84 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3378, allocations: 47.83 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.3378, allocations: 0 / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3379, allocations: 31.84 kB / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.338, allocations: 5.828 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.338, allocations: 11.92 kB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.3381, allocations: 11.92 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3381, allocations: 4 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.3381, allocations: 8 kB / 0.5632 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.3382, allocations: 16.89 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.3382, allocations: 27.86 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3384, allocations: 71.56 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3384, allocations: 0 / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3384, allocations: 0 / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3384, allocations: 0 / 0.5633 GB, free: 1.328 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004101/0.3388, allocations: 290 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3388, allocations: 8.031 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/0.3389, allocations: 42.73 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.3389, allocations: 8.891 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3391, allocations: 118.4 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3391, allocations: 4.375 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.3391, allocations: 8.359 kB / 0.5638 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3393, allocations: 130 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3393, allocations: 3.938 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3393, allocations: 4 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.3394, allocations: 19.98 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.3394, allocations: 43.86 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.3401, allocations: 0.8586 MB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.3402, allocations: 169.2 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.3403, allocations: 88.02 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3403, allocations: 75.28 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.3404, allocations: 113.8 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3404, allocations: 0 / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.514e-05/0.3405, allocations: 37.61 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.3405, allocations: 126.7 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3407, allocations: 194 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3408, allocations: 25.7 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3409, allocations: 151.5 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/0.3409, allocations: 4 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.3409, allocations: 45.66 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3411, allocations: 318.8 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.3411, allocations: 35.92 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3413, allocations: 161.1 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3415, allocations: 200.9 kB / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3415, allocations: 0 / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003266/0.3418, allocations: 205.1 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3418, allocations: 8 kB / 0.5667 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3419, allocations: 4.625 kB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3419, allocations: 8 kB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.342, allocations: 39.92 kB / 0.5667 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.342, allocations: 7.938 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.3421, allocations: 27.78 kB / 0.5667 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3421, allocations: 12 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001459/0.3423, allocations: 209 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.3423, allocations: 112.9 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3424, allocations: 124.5 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/0.3425, allocations: 184.3 kB / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.437e-05/0.3426, allocations: 176.4 kB / 0.5675 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.896e-05/0.3426, allocations: 188.2 kB / 0.5677 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.3429, allocations: 400.2 kB / 0.5681 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-05/0.343, allocations: 108.9 kB / 0.5682 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.3431, allocations: 101 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.3432, allocations: 184.3 kB / 0.5685 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/0.3432, allocations: 184.2 kB / 0.5686 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.402e-05/0.3433, allocations: 176.3 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.113e-05/0.3434, allocations: 184.2 kB / 0.569 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.3436, allocations: 319.7 kB / 0.5693 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.3437, allocations: 108.9 kB / 0.5694 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.3438, allocations: 184.2 kB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.3439, allocations: 112.9 kB / 0.5697 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.344, allocations: 180.3 kB / 0.5698 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.344, allocations: 105 kB / 0.57 GB, free: 9.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3441, allocations: 123.2 kB / 0.5701 GB, free: 9.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3441, allocations: 0 / 0.5701 GB, free: 9.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.3444, allocations: 19.94 kB / 0.5701 GB, free: 9.816 MB / 414.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 (0): * Single equations (assignments): 0 * 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.001025/0.3455, allocations: 0.9242 MB / 0.571 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3456, allocations: 76.22 kB / 0.5711 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3456, allocations: 0 / 0.5711 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3456, allocations: 0 / 0.5711 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.346, allocations: 459.7 kB / 0.5715 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3478, allocations: 1.888 MB / 0.5733 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.3478, allocations: 83.52 kB / 0.5734 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.348, allocations: 52.95 kB / 0.5735 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.3481, allocations: 27.42 kB / 0.5735 GB, free: 6.117 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3481, allocations: 0 / 0.5735 GB, free: 6.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3774, allocations: 2.618 MB / 0.5761 GB, free: 3.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 11.28 kB / 0.5761 GB, free: 3.516 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.454617504030466]