Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001759/0.001759, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002294/0.002294, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2313/0.2313, allocations: 46.92 MB / 360.9 MB, free: 4.281 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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 75.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3704, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002902/0.3733, allocations: 1.617 MB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3752, allocations: 1.267 MB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.3753, allocations: 0 / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3755, allocations: 31.73 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3758, allocations: 83.61 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3761, allocations: 107.7 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3763, allocations: 75.77 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.3764, allocations: 5.828 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.3764, allocations: 31.91 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3766, allocations: 31.8 kB / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3766, allocations: 4 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3768, allocations: 99.92 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.3768, allocations: 11.92 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.3768, allocations: 27.86 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3771, allocations: 147.4 kB / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3771, allocations: 0 / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3771, allocations: 0 / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3771, allocations: 0 / 0.5641 GB, free: 0.9219 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.0004978/0.3776, allocations: 335.9 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3776, allocations: 12.03 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3777, allocations: 30.75 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.3777, allocations: 8.891 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3779, allocations: 142.3 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.3779, allocations: 4.375 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.378, allocations: 4.375 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3781, allocations: 63.34 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3781, allocations: 3.984 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3781, allocations: 0 / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3782, allocations: 4 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.3783, allocations: 19.98 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.3787, allocations: 259.9 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3789, allocations: 42.56 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.379, allocations: 16.94 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.379, allocations: 0 / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.379, allocations: 34.56 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.379, allocations: 8 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005857/0.3796, allocations: 145.4 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3796, allocations: 77.11 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3798, allocations: 144.5 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3798, allocations: 29.7 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3799, allocations: 100.1 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3799, allocations: 23.84 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.38, allocations: 21.7 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3801, allocations: 318.8 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.3802, allocations: 23.92 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.3803, allocations: 41.62 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3804, allocations: 61.05 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3804, allocations: 0 / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.3806, allocations: 85.61 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3806, allocations: 4 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3806, allocations: 3.938 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3806, allocations: 4 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.3807, allocations: 15.92 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3807, allocations: 0 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.3808, allocations: 11.94 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3808, allocations: 0 / 0.5661 GB, free: 14.66 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 9.928e-05/0.3809, allocations: 117.8 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.3809, allocations: 7.938 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.3812, allocations: 98.05 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3812, allocations: 288 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3812, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3812, allocations: 7.938 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3816, allocations: 333.6 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3816, allocations: 3.984 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.3817, allocations: 11.98 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3817, allocations: 0 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3817, allocations: 7.938 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3817, allocations: 192 / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3817, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.382, allocations: 187.4 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.382, allocations: 7.953 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.382, allocations: 7.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.3821, allocations: 3.984 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3821, allocations: 4 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3821, allocations: 0 / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3823, allocations: 119.2 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3823, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3826, allocations: 39.86 kB / 0.567 GB, free: 13.62 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.002218/0.3848, allocations: 1.11 MB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.385, allocations: 59.89 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.385, allocations: 0 / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.3851, allocations: 23.98 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3855, allocations: 21.61 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3872, allocations: 1.447 MB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3876, allocations: 0.704 MB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.961e-05/0.3876, allocations: 20.02 kB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.3877, allocations: 27.42 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3877, allocations: 0 / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.4191, allocations: 3.407 MB / 0.5737 GB, free: 6.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.25, allocations: 11.44 kB / 0.5737 GB, free: 6.898 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_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_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.49349472099857]