Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001253/0.001253, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001373/0.001373, allocations: 212.2 kB / 20.75 MB, free: 2.332 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.229/0.229, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.00195/0.00195, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003361/0.1348, allocations: 1.617 MB / 0.5534 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.136, allocations: 0.5533 MB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1361, allocations: 4 kB / 0.5539 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1364, allocations: 79.7 kB / 0.554 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1368, allocations: 95.66 kB / 0.5541 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1371, allocations: 111.6 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1374, allocations: 87.73 kB / 0.5543 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1375, allocations: 19.94 kB / 0.5543 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.1376, allocations: 35.89 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1377, allocations: 51.77 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1377, allocations: 4 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1378, allocations: 51.91 kB / 0.5544 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.1379, allocations: 19.92 kB / 0.5544 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1379, allocations: 31.75 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1382, allocations: 99.58 kB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1382, allocations: 0 / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1382, allocations: 0 / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1382, allocations: 0 / 0.5546 GB, free: 7.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000658/0.1389, allocations: 418.7 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1389, allocations: 8.031 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.139, allocations: 42.73 kB / 0.555 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.139, allocations: 12.84 kB / 0.555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1393, allocations: 206.3 kB / 0.5552 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1393, allocations: 384 / 0.5552 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1393, allocations: 4.375 kB / 0.5552 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1395, allocations: 57.61 kB / 0.5553 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1395, allocations: 4 kB / 0.5553 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1395, allocations: 0 / 0.5553 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1395, allocations: 4 kB / 0.5553 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1396, allocations: 27.91 kB / 0.5553 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1402, allocations: 304.7 kB / 0.5556 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1403, allocations: 42.55 kB / 0.5556 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1403, allocations: 20.86 kB / 0.5557 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1404, allocations: 4.062 kB / 0.5557 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.1404, allocations: 38.64 kB / 0.5557 GB, free: 5.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1404, allocations: 0 / 0.5557 GB, free: 5.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001037/0.1415, allocations: 241.2 kB / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1415, allocations: 51.41 kB / 0.556 GB, free: 5.605 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1418, allocations: 201.6 kB / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1418, allocations: 33.64 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1419, allocations: 108.1 kB / 0.5563 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.1419, allocations: 27.75 kB / 0.5563 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.142, allocations: 21.7 kB / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1422, allocations: 326.8 kB / 0.5567 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.1423, allocations: 27.98 kB / 0.5567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.1423, allocations: 31.97 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1425, allocations: 72.83 kB / 0.5568 GB, free: 4.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1425, allocations: 0 / 0.5568 GB, free: 4.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002601/0.1428, allocations: 113.5 kB / 0.5569 GB, free: 4.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1428, allocations: 8 kB / 0.5569 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1428, allocations: 0 / 0.5569 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1428, allocations: 3.984 kB / 0.5569 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1429, allocations: 12 kB / 0.5569 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.143, allocations: 8.25 kB / 0.5569 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.143, allocations: 11.98 kB / 0.5569 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.143, allocations: 4 kB / 0.557 GB, free: 4.566 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 (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.0001028/0.1431, allocations: 121.8 kB / 0.5571 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1431, allocations: 19.91 kB / 0.5571 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.1435, allocations: 131 kB / 0.5572 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1435, allocations: 4.422 kB / 0.5572 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1435, allocations: 7.875 kB / 0.5572 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1435, allocations: 3.984 kB / 0.5572 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.1441, allocations: 419.3 kB / 0.5576 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1441, allocations: 0 / 0.5576 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.1442, allocations: 15.94 kB / 0.5576 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1442, allocations: 7.984 kB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1442, allocations: 3.984 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1442, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1442, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.1445, allocations: 220.2 kB / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1445, allocations: 85 kB / 0.5579 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1445, allocations: 8 kB / 0.558 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.1446, allocations: 3.984 kB / 0.558 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1447, allocations: 4 kB / 0.558 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.1447, allocations: 7.984 kB / 0.558 GB, free: 3.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1448, allocations: 149.8 kB / 0.5581 GB, free: 3.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1448, allocations: 0 / 0.5581 GB, free: 3.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1451, allocations: 31.92 kB / 0.5581 GB, free: 3.23 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: 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.002291/0.1474, allocations: 1.106 MB / 0.5592 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1476, allocations: 75.88 kB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1476, allocations: 0 / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1478, allocations: 40.19 kB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1481, allocations: 22.73 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1502, allocations: 1.686 MB / 0.561 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1506, allocations: 0.712 MB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.128e-05/0.1506, allocations: 24.64 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.1507, allocations: 35.42 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1507, allocations: 0 / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1736, allocations: 3.123 MB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.237, allocations: 14.88 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.524625930935144]