Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001354/0.001354, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.0016/0.0016, allocations: 206.5 kB / 23.73 MB, free: 4.402 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2324/0.2324, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.88 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003174/0.3498, allocations: 1.59 MB / 0.5622 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3521, allocations: 1.236 MB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.3521, allocations: 4 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3524, allocations: 19.86 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.3528, allocations: 83.61 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3532, allocations: 95.08 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3534, allocations: 67.83 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3535, allocations: 9.828 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.3536, allocations: 31.84 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3537, allocations: 27.84 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3537, allocations: 4 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.3539, allocations: 99.88 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.354, allocations: 11.94 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.354, allocations: 27.84 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.3544, allocations: 131.5 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3544, allocations: 0 / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3544, allocations: 0 / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3544, allocations: 0 / 0.564 GB, free: 0.7969 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006102/0.355, allocations: 321.7 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.355, allocations: 12.03 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.3551, allocations: 42.67 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3551, allocations: 8.891 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3554, allocations: 138.4 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3554, allocations: 8.359 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3554, allocations: 4.312 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3557, allocations: 93.03 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3557, allocations: 4 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3557, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3557, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3558, allocations: 23.92 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3562, allocations: 244 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3564, allocations: 42.56 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.3565, allocations: 16.86 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3565, allocations: 4.078 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3566, allocations: 34.5 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.3566, allocations: 0 / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006109/0.3572, allocations: 133.5 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3573, allocations: 93.05 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3574, allocations: 144.3 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3575, allocations: 25.7 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3575, allocations: 100.1 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3576, allocations: 11.86 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3576, allocations: 21.7 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3578, allocations: 322.8 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.3578, allocations: 19.98 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.3579, allocations: 59.39 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3581, allocations: 53 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3581, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.3583, allocations: 89.55 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3583, allocations: 4 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3583, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3583, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.3584, allocations: 15.98 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3584, allocations: 0 / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.3585, allocations: 11.94 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3585, allocations: 0 / 0.566 GB, free: 14.52 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 (5): * Single equations (assignments): 5 * 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.0001242/0.3586, allocations: 113.8 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.3586, allocations: 7.953 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.3589, allocations: 97.98 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3589, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3589, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3589, allocations: 3.938 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.3595, allocations: 309.7 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3595, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.3595, allocations: 12 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3595, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3595, allocations: 7.875 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3595, allocations: 3.984 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3595, allocations: 4.125 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3598, allocations: 183.5 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.3598, allocations: 11.95 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.3599, allocations: 11.92 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3599, allocations: 0 / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.36, allocations: 4.281 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.36, allocations: 3.984 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3601, allocations: 113.5 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.3604, allocations: 39.86 kB / 0.5669 GB, free: 13.52 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 (5): * Single equations (assignments): 5 * 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.002388/0.3628, allocations: 1.142 MB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.363, allocations: 51.91 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.363, allocations: 0 / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.3631, allocations: 27.91 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3635, allocations: 17.5 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3655, allocations: 1.429 MB / 0.5695 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.3656, allocations: 79.08 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.863e-05/0.3656, allocations: 16.23 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.3657, allocations: 27.42 kB / 0.5696 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3657, allocations: 0 / 0.5696 GB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.3982, allocations: 3.832 MB / 0.5733 GB, free: 7.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 4 kB / 0.5733 GB, free: 7.031 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.045742810703814]