Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001807/0.001807, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00242/0.00242, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.524/1.524, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2338/0.2338, 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.00189/0.00189, allocations: 75.89 kB / 499.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 65.42 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003155/0.1271, allocations: 1.733 MB / 0.5535 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1288, allocations: 1.062 MB / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.1289, allocations: 0 / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1291, allocations: 35.77 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1294, allocations: 95.53 kB / 0.5547 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.1296, allocations: 79.72 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1298, allocations: 115.6 kB / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1299, allocations: 12.27 kB / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.13, allocations: 47.77 kB / 0.5549 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.1301, allocations: 47.77 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1301, allocations: 4 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1303, allocations: 115.9 kB / 0.5551 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1303, allocations: 15.92 kB / 0.5551 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.1304, allocations: 51.61 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1307, allocations: 171.4 kB / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1307, allocations: 0 / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1307, allocations: 4 kB / 0.5553 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1307, allocations: 0 / 0.5553 GB, free: 6.449 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.0006921/0.1314, allocations: 438.5 kB / 0.5557 GB, free: 5.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1315, allocations: 12.03 kB / 0.5558 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1315, allocations: 34.75 kB / 0.5558 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.1316, allocations: 8.891 kB / 0.5558 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1319, allocations: 212.1 kB / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1319, allocations: 4.375 kB / 0.556 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1319, allocations: 3.938 kB / 0.556 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1321, allocations: 75.38 kB / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1321, allocations: 0 / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1321, allocations: 4 kB / 0.5561 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1321, allocations: 4 kB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1322, allocations: 19.98 kB / 0.5561 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1326, allocations: 280.8 kB / 0.5564 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1328, allocations: 66.59 kB / 0.5564 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.1328, allocations: 28.97 kB / 0.5565 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1329, allocations: 4 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.133, allocations: 75.3 kB / 0.5565 GB, free: 5.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.133, allocations: 4 kB / 0.5565 GB, free: 5.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006079/0.1336, allocations: 197.7 kB / 0.5567 GB, free: 4.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.1337, allocations: 85.09 kB / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1339, allocations: 173 kB / 0.557 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1339, allocations: 29.7 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.134, allocations: 96.14 kB / 0.5571 GB, free: 4.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.134, allocations: 31.73 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1341, allocations: 33.7 kB / 0.5572 GB, free: 4.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1342, allocations: 326.8 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.1343, allocations: 31.92 kB / 0.5575 GB, free: 3.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.1344, allocations: 50.56 kB / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1346, allocations: 77.64 kB / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1346, allocations: 0 / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002355/0.1348, allocations: 121.6 kB / 0.5577 GB, free: 3.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1348, allocations: 10.17 kB / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1348, allocations: 4.078 kB / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1348, allocations: 96 / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1349, allocations: 19.94 kB / 0.5578 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1349, allocations: 7.922 kB / 0.5578 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.135, allocations: 11.98 kB / 0.5578 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.135, allocations: 7.938 kB / 0.5578 GB, free: 3.652 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 (13): * Single equations (assignments): 13 * 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.0001154/0.1351, allocations: 125.8 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1352, allocations: 15.91 kB / 0.5579 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1352, allocations: 16.7 kB / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1352, allocations: 0 / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1352, allocations: 3.938 kB / 0.558 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1352, allocations: 4 kB / 0.558 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.1357, allocations: 419.2 kB / 0.5584 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1358, allocations: 7.938 kB / 0.5584 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1358, allocations: 15.92 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1358, allocations: 4.031 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1358, allocations: 4 kB / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1358, allocations: 0 / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1358, allocations: 0 / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1361, allocations: 216.3 kB / 0.5586 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.1361, allocations: 89 kB / 0.5587 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1362, allocations: 8 kB / 0.5587 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.1362, allocations: 8 kB / 0.5587 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1363, allocations: 7.984 kB / 0.5587 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1363, allocations: 8 kB / 0.5587 GB, free: 2.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1364, allocations: 126.7 kB / 0.5588 GB, free: 2.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1364, allocations: 0 / 0.5588 GB, free: 2.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1367, allocations: 59.75 kB / 0.5589 GB, free: 2.434 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 (10): * Single equations (assignments): 8 * 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.002512/0.1392, allocations: 1.205 MB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1395, allocations: 75.91 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1395, allocations: 0 / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.1395, allocations: 31.98 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1399, allocations: 33.02 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1419, allocations: 1.679 MB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1423, allocations: 0.7006 MB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1423, allocations: 28.41 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.1424, allocations: 43.41 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1424, allocations: 0 / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.1686, allocations: 4.267 MB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.116, allocations: 7.938 kB / 0.5668 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.384086898062378]