Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003522/0.3503, allocations: 1.877 MB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3521, allocations: 0.9556 MB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3522, allocations: 7.938 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.3527, allocations: 251.2 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.3532, allocations: 259.1 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3543, allocations: 481.4 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.3547, allocations: 299.1 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3549, allocations: 38.73 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.3551, allocations: 139.4 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3553, allocations: 215.2 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.3554, allocations: 12 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3555, allocations: 51.97 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.3556, allocations: 91.61 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.3557, allocations: 87.22 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.3561, allocations: 306.4 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3561, allocations: 4 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3561, allocations: 0 / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3561, allocations: 0 / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008011/0.3569, allocations: 0.5894 MB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.357, allocations: 16.03 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.357, allocations: 38.73 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.3571, allocations: 44.66 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3575, allocations: 268.6 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.3575, allocations: 4.375 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3575, allocations: 12.31 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3577, allocations: 80.27 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3577, allocations: 0 / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3577, allocations: 8 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3577, allocations: 0 / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3579, allocations: 51.97 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.3585, allocations: 419.5 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3586, allocations: 50.56 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.3587, allocations: 28.97 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3587, allocations: 3.984 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3587, allocations: 38.5 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3587, allocations: 0 / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003471/0.3591, allocations: 137.4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3591, allocations: 55.34 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.3598, allocations: 0.5877 MB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3598, allocations: 25.7 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.36, allocations: 208.1 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.36, allocations: 19.84 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.3601, allocations: 21.72 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3603, allocations: 354.8 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3604, allocations: 23.92 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.3604, allocations: 15.98 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3605, allocations: 52.78 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3605, allocations: 0 / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002082/0.3608, allocations: 117.4 kB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3608, allocations: 4 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3608, allocations: 0 / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3608, allocations: 3.938 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3609, allocations: 15.98 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3609, allocations: 0 / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.361, allocations: 11.89 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.361, allocations: 8 kB / 0.5687 GB, free: 11.72 MB / 414.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 (6): * Single equations (assignments): 6 * 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.0001725/0.3612, allocations: 177.7 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.3613, allocations: 39.72 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.3616, allocations: 129.2 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3616, allocations: 3.938 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3616, allocations: 0 / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3616, allocations: 3.984 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3619, allocations: 249.2 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3619, allocations: 0 / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.362, allocations: 15.98 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.362, allocations: 8 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.362, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.362, allocations: 3.938 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.362, allocations: 7.938 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3623, allocations: 211.2 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3623, allocations: 39.73 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.3624, allocations: 0 / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.3625, allocations: 11.94 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3625, allocations: 7.984 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3625, allocations: 0 / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.363, allocations: 443.1 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.363, allocations: 0 / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3633, allocations: 39.88 kB / 0.57 GB, free: 10.28 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 (6): * Single equations (assignments): 6 * 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.003113/0.3664, allocations: 1.297 MB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3666, allocations: 47.97 kB / 0.5713 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3666, allocations: 0 / 0.5713 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.3667, allocations: 31.92 kB / 0.5714 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.3673, allocations: 78.58 kB / 0.5715 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.3711, allocations: 2.847 MB / 0.5742 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3713, allocations: 195.1 kB / 0.5744 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.3714, allocations: 41.58 kB / 0.5745 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3716, allocations: 111.4 kB / 0.5746 GB, free: 5.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3716, allocations: 0 / 0.5746 GB, free: 5.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.4062, allocations: 7.508 MB / 0.5819 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 7.438 kB / 0.5819 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv failed! Error: Could not read variable combiTable2DT.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv. Warning: Get data of variable combiTable2DT.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.602382939017843]