Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001293/0.001293, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001424/0.001424, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.93 MB / 358.8 MB, free: 6.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 68.17 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3218, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003376/0.3251, allocations: 1.603 MB / 0.5586 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3262, allocations: 0.5231 MB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.3263, allocations: 4 kB / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3266, allocations: 79.7 kB / 0.5592 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3268, allocations: 99.66 kB / 0.5592 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3271, allocations: 95.69 kB / 0.5593 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3273, allocations: 83.75 kB / 0.5594 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.3274, allocations: 13.81 kB / 0.5594 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.3274, allocations: 39.83 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3275, allocations: 59.83 kB / 0.5595 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3275, allocations: 4 kB / 0.5595 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.3276, allocations: 51.91 kB / 0.5596 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.3277, allocations: 19.92 kB / 0.5596 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3277, allocations: 23.81 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3279, allocations: 107.5 kB / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3279, allocations: 0 / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3279, allocations: 0 / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3279, allocations: 7.938 kB / 0.5597 GB, free: 4.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000501/0.3284, allocations: 345.6 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3285, allocations: 8.031 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3285, allocations: 38.69 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.3285, allocations: 12.84 kB / 0.5601 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3287, allocations: 143 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3287, allocations: 384 / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3288, allocations: 12.36 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3289, allocations: 49.62 kB / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3289, allocations: 0 / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3289, allocations: 4 kB / 0.5603 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3289, allocations: 4 kB / 0.5603 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.329, allocations: 31.91 kB / 0.5604 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.3294, allocations: 259.9 kB / 0.5606 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3295, allocations: 38.56 kB / 0.5606 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.3296, allocations: 20.94 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3296, allocations: 0 / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3297, allocations: 38.5 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3297, allocations: 0 / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008851/0.3305, allocations: 229.2 kB / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3306, allocations: 51.41 kB / 0.561 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3308, allocations: 210.2 kB / 0.5612 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3308, allocations: 29.7 kB / 0.5612 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3309, allocations: 108.1 kB / 0.5613 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3309, allocations: 31.73 kB / 0.5613 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.331, allocations: 25.72 kB / 0.5613 GB, free: 2.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3311, allocations: 322.8 kB / 0.5617 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.3312, allocations: 35.91 kB / 0.5617 GB, free: 2.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.3312, allocations: 24.05 kB / 0.5617 GB, free: 2.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3314, allocations: 64.89 kB / 0.5618 GB, free: 2.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3314, allocations: 0 / 0.5618 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.3316, allocations: 101.6 kB / 0.5619 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3316, allocations: 8 kB / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3316, allocations: 0 / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3316, allocations: 0 / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3317, allocations: 20.41 kB / 0.5619 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3317, allocations: 3.938 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.3318, allocations: 7.984 kB / 0.5619 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3318, allocations: 0 / 0.5619 GB, free: 2.277 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 (8): * Single equations (assignments): 8 * 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.0001001/0.3319, allocations: 125.8 kB / 0.562 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.3319, allocations: 15.89 kB / 0.562 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3322, allocations: 123 kB / 0.5622 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3322, allocations: 7.922 kB / 0.5622 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3322, allocations: 7.922 kB / 0.5622 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3322, allocations: 0 / 0.5622 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.3327, allocations: 362.4 kB / 0.5625 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3327, allocations: 0 / 0.5625 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.3328, allocations: 27.92 kB / 0.5626 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3328, allocations: 4.031 kB / 0.5626 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3328, allocations: 0 / 0.5626 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3328, allocations: 4 kB / 0.5626 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3328, allocations: 3.938 kB / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.3331, allocations: 200.7 kB / 0.5628 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.3331, allocations: 15.84 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3331, allocations: 8 kB / 0.5628 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.3332, allocations: 7.984 kB / 0.5628 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3332, allocations: 7.984 kB / 0.5628 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3332, allocations: 8 kB / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3334, allocations: 164.2 kB / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3336, allocations: 19.94 kB / 0.563 GB, free: 1.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00234/0.336, allocations: 1.125 MB / 0.5641 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3362, allocations: 63.89 kB / 0.5641 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3362, allocations: 0 / 0.5641 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.3363, allocations: 31.98 kB / 0.5642 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3367, allocations: 19.17 kB / 0.5642 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3388, allocations: 1.685 MB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3389, allocations: 96.67 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.392e-05/0.3389, allocations: 20.95 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.339, allocations: 31.42 kB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.339, allocations: 0 / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.367, allocations: 3.669 MB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 6.156 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.891697403043509]