Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.00187/0.00187, 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.002416/0.002416, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2552/0.2552, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 0.491 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1526, allocations: 65.99 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003168/0.1557, allocations: 1.624 MB / 0.557 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1568, allocations: 0.5533 MB / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.1569, allocations: 0 / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1572, allocations: 123.7 kB / 0.5576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1575, allocations: 131.5 kB / 0.5578 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1578, allocations: 107.7 kB / 0.5579 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.158, allocations: 103.7 kB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1581, allocations: 15.98 kB / 0.558 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.1581, allocations: 51.77 kB / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1583, allocations: 91.75 kB / 0.5581 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1583, allocations: 4 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1584, allocations: 43.98 kB / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.1584, allocations: 27.92 kB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1585, allocations: 43.67 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1587, allocations: 131.3 kB / 0.5584 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1587, allocations: 3.938 kB / 0.5584 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1587, allocations: 0 / 0.5584 GB, free: 2.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1587, allocations: 0 / 0.5584 GB, free: 2.793 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.0005749/0.1593, allocations: 438.5 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1593, allocations: 12.02 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.1594, allocations: 38.75 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1594, allocations: 20.83 kB / 0.5589 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1596, allocations: 215.8 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1597, allocations: 384 / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1597, allocations: 4.375 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1599, allocations: 61.55 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1599, allocations: 0 / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1599, allocations: 0 / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1599, allocations: 4 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.16, allocations: 19.98 kB / 0.5591 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.1604, allocations: 312.8 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1606, allocations: 50.44 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.1606, allocations: 20.94 kB / 0.5595 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1607, allocations: 4 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1607, allocations: 34.56 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1607, allocations: 0 / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009826/0.1617, allocations: 253.2 kB / 0.5598 GB, free: 1.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1617, allocations: 51.41 kB / 0.5598 GB, free: 1.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.162, allocations: 283.7 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.162, allocations: 25.7 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1621, allocations: 112.1 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1621, allocations: 31.73 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1622, allocations: 17.72 kB / 0.5603 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1624, allocations: 330.8 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.1624, allocations: 31.98 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.1625, allocations: 35.91 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1627, allocations: 68.83 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1627, allocations: 0 / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.163, allocations: 117.5 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.163, allocations: 13.86 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.163, allocations: 0 / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.163, allocations: 0 / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1631, allocations: 24.08 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1631, allocations: 7.938 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.1632, allocations: 4 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1632, allocations: 4 kB / 0.5609 GB, free: 15.96 MB / 430.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.0001186/0.1633, allocations: 133.8 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1633, allocations: 19.84 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.1636, allocations: 135.2 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1636, allocations: 432 / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1637, allocations: 7.938 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1637, allocations: 0 / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.1643, allocations: 439.2 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1643, allocations: 3.938 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.1643, allocations: 19.92 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.1643, allocations: 7.984 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1644, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1644, allocations: 4.031 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1644, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1647, allocations: 212.3 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.1647, allocations: 100.9 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1647, allocations: 4 kB / 0.5619 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.1648, allocations: 8 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1649, allocations: 7.984 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1649, allocations: 0 / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.1651, allocations: 209.5 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1651, allocations: 0 / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1653, allocations: 27.92 kB / 0.5622 GB, free: 14.54 MB / 430.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.002258/0.1676, allocations: 1.106 MB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1679, allocations: 79.92 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1679, allocations: 0 / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.168, allocations: 35.92 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1683, allocations: 28.02 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.1707, allocations: 1.851 MB / 0.5652 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1711, allocations: 0.7236 MB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.1712, allocations: 24.66 kB / 0.5659 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.1712, allocations: 39.42 kB / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1712, allocations: 0 / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1951, allocations: 3.469 MB / 0.5694 GB, free: 7.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.297, allocations: 3.516 kB / 0.5694 GB, free: 7.266 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.671074665006017]