Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001504/0.001504, allocations: 124.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.001429/0.001429, allocations: 203.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.534/1.534, 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.2421/0.2421, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002001/0.002001, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1523, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003538/0.1558, allocations: 1.627 MB / 0.5534 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.157, allocations: 0.5377 MB / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.1571, allocations: 0 / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1574, allocations: 75.77 kB / 0.554 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1577, allocations: 107.6 kB / 0.5541 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.158, allocations: 95.06 kB / 0.5542 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1582, allocations: 79.77 kB / 0.5542 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1583, allocations: 19.92 kB / 0.5542 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.1584, allocations: 31.91 kB / 0.5543 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1585, allocations: 55.75 kB / 0.5543 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1586, allocations: 8 kB / 0.5543 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1587, allocations: 43.98 kB / 0.5544 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1587, allocations: 23.86 kB / 0.5544 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.1588, allocations: 27.75 kB / 0.5544 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.159, allocations: 107.5 kB / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.159, allocations: 0 / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.159, allocations: 0 / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.159, allocations: 4 kB / 0.5545 GB, free: 7.285 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.0006082/0.1596, allocations: 406.8 kB / 0.5549 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1597, allocations: 12.03 kB / 0.5549 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1597, allocations: 38.73 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1597, allocations: 12.84 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.16, allocations: 202.3 kB / 0.5552 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.16, allocations: 12.36 kB / 0.5552 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.16, allocations: 4.375 kB / 0.5552 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1601, allocations: 49.62 kB / 0.5552 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1602, allocations: 0 / 0.5552 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1602, allocations: 8 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1602, allocations: 0 / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1603, allocations: 31.97 kB / 0.5553 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.1607, allocations: 296.7 kB / 0.5556 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1608, allocations: 38.56 kB / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1609, allocations: 24.88 kB / 0.5556 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1609, allocations: 0 / 0.5556 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1609, allocations: 38.55 kB / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1609, allocations: 0 / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009403/0.1619, allocations: 217.2 kB / 0.5559 GB, free: 5.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1619, allocations: 59.34 kB / 0.5559 GB, free: 5.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1622, allocations: 209.6 kB / 0.5561 GB, free: 5.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1622, allocations: 25.7 kB / 0.5561 GB, free: 5.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.1623, allocations: 104.1 kB / 0.5562 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1623, allocations: 31.73 kB / 0.5563 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1623, allocations: 17.72 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1625, allocations: 326.8 kB / 0.5566 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1626, allocations: 23.98 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1627, allocations: 23.98 kB / 0.5567 GB, free: 4.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1628, allocations: 64.89 kB / 0.5567 GB, free: 4.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1628, allocations: 0 / 0.5567 GB, free: 4.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002287/0.163, allocations: 101.6 kB / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1631, allocations: 6.188 kB / 0.5568 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1631, allocations: 3.938 kB / 0.5568 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1631, allocations: 0 / 0.5568 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1632, allocations: 23.98 kB / 0.5568 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.1632, allocations: 4.25 kB / 0.5568 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1633, allocations: 11.94 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1633, allocations: 0 / 0.5569 GB, free: 4.672 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.000111/0.1634, allocations: 125.8 kB / 0.557 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1634, allocations: 11.91 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1637, allocations: 127 kB / 0.5571 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1637, allocations: 0 / 0.5571 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1637, allocations: 3.938 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1637, allocations: 4 kB / 0.5571 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.1643, allocations: 395.3 kB / 0.5575 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1643, allocations: 3.938 kB / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.1644, allocations: 27.92 kB / 0.5575 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1644, allocations: 4.031 kB / 0.5575 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1644, allocations: 0 / 0.5575 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1644, allocations: 4 kB / 0.5575 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1644, allocations: 0 / 0.5575 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1647, allocations: 212.2 kB / 0.5577 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.1648, allocations: 89 kB / 0.5578 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1648, allocations: 7.984 kB / 0.5578 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1649, allocations: 4 kB / 0.5578 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1649, allocations: 7.984 kB / 0.5578 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1649, allocations: 4 kB / 0.5578 GB, free: 3.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1651, allocations: 153.8 kB / 0.558 GB, free: 3.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1651, allocations: 0 / 0.558 GB, free: 3.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1653, allocations: 19.94 kB / 0.558 GB, free: 3.375 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.002259/0.1676, allocations: 1.096 MB / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1678, allocations: 63.94 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1678, allocations: 3.938 kB / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/0.1679, allocations: 31.92 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1683, allocations: 23.44 kB / 0.5592 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1704, allocations: 1.644 MB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1709, allocations: 0.7041 MB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1709, allocations: 12.66 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.171, allocations: 31.44 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.171, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1964, allocations: 3.08 MB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.198, allocations: 14.81 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.549104544799775]