Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001636/0.001636, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001706/0.001706, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.446/1.446, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.26/0.26, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001918/0.001918, allocations: 67.89 kB / 499.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 65.43 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003234/0.1208, allocations: 1.729 MB / 0.5535 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1224, allocations: 1.034 MB / 0.5545 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.1225, allocations: 0 / 0.5545 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1227, allocations: 51.7 kB / 0.5546 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.123, allocations: 99.59 kB / 0.5547 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1232, allocations: 75.67 kB / 0.5548 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1234, allocations: 107.7 kB / 0.5549 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.1235, allocations: 12.22 kB / 0.5549 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.1236, allocations: 47.78 kB / 0.5549 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.1237, allocations: 31.84 kB / 0.5549 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1237, allocations: 4 kB / 0.555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.1238, allocations: 43.98 kB / 0.555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.1238, allocations: 19.92 kB / 0.555 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1239, allocations: 43.61 kB / 0.5551 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1241, allocations: 127.5 kB / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1241, allocations: 0 / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1241, allocations: 0 / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1241, allocations: 0 / 0.5552 GB, free: 6.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005862/0.1247, allocations: 426.6 kB / 0.5556 GB, free: 6.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1247, allocations: 12.03 kB / 0.5556 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.1248, allocations: 30.75 kB / 0.5556 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1248, allocations: 12.83 kB / 0.5556 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1251, allocations: 216.1 kB / 0.5558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1251, allocations: 12.31 kB / 0.5559 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1251, allocations: 3.938 kB / 0.5559 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1253, allocations: 53.67 kB / 0.5559 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1253, allocations: 4 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1253, allocations: 0 / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1253, allocations: 3.984 kB / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.1254, allocations: 19.98 kB / 0.5559 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1257, allocations: 304.8 kB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1259, allocations: 58.62 kB / 0.5563 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1259, allocations: 20.84 kB / 0.5563 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1259, allocations: 0 / 0.5563 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.1261, allocations: 63.39 kB / 0.5564 GB, free: 5.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1261, allocations: 4 kB / 0.5564 GB, free: 5.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.1266, allocations: 177.3 kB / 0.5565 GB, free: 5.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1267, allocations: 55.41 kB / 0.5566 GB, free: 5.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1269, allocations: 210 kB / 0.5568 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1269, allocations: 29.7 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.127, allocations: 104.1 kB / 0.5569 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.127, allocations: 27.78 kB / 0.5569 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.127, allocations: 21.72 kB / 0.557 GB, free: 4.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1272, allocations: 326.8 kB / 0.5573 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.1272, allocations: 23.92 kB / 0.5573 GB, free: 4.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.1273, allocations: 41.64 kB / 0.5573 GB, free: 4.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1274, allocations: 61.69 kB / 0.5574 GB, free: 4.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1274, allocations: 0 / 0.5574 GB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1276, allocations: 105.5 kB / 0.5575 GB, free: 4.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1276, allocations: 4 kB / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1276, allocations: 0 / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1277, allocations: 4 kB / 0.5575 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.1277, allocations: 15.98 kB / 0.5575 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1277, allocations: 0 / 0.5575 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1278, allocations: 11.94 kB / 0.5575 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1278, allocations: 7.875 kB / 0.5575 GB, free: 4.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001045/0.1279, allocations: 128 kB / 0.5577 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1279, allocations: 19.94 kB / 0.5577 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.128, allocations: 21.39 kB / 0.5577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.128, allocations: 0 / 0.5577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.128, allocations: 0 / 0.5577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.128, allocations: 3.938 kB / 0.5577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.1284, allocations: 395.5 kB / 0.5581 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1285, allocations: 4 kB / 0.5581 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1285, allocations: 8.359 kB / 0.5581 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1285, allocations: 11.97 kB / 0.5581 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1285, allocations: 0 / 0.5581 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1285, allocations: 4 kB / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1285, allocations: 4 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1288, allocations: 204.2 kB / 0.5583 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1288, allocations: 85.06 kB / 0.5584 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1288, allocations: 3.938 kB / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1289, allocations: 11.98 kB / 0.5584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.1289, allocations: 4 kB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.129, allocations: 4 kB / 0.5584 GB, free: 3.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1291, allocations: 164.3 kB / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1291, allocations: 0 / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1294, allocations: 23.94 kB / 0.5586 GB, free: 2.875 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002126/0.1315, allocations: 1.101 MB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1317, allocations: 59.91 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1317, allocations: 0 / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/0.1317, allocations: 23.98 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1321, allocations: 29.3 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.134, allocations: 1.694 MB / 0.5614 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1344, allocations: 0.7119 MB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1344, allocations: 20.48 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.1345, allocations: 39.41 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1345, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1596, allocations: 3.529 MB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.389, allocations: 4 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.497347855009139]