Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 215.5 kB / 20.75 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3216/0.3216, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003306/0.003306, allocations: 79.88 kB / 0.491 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1528, allocations: 66.04 MB / 0.5555 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003549/0.1564, allocations: 1.61 MB / 0.5571 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1577, allocations: 0.545 MB / 0.5576 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.1578, allocations: 0 / 0.5576 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1581, allocations: 23.8 kB / 0.5576 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.1584, allocations: 83.61 kB / 0.5577 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1588, allocations: 105.2 kB / 0.5578 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.159, allocations: 71.78 kB / 0.5579 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1591, allocations: 11.98 kB / 0.5579 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.1592, allocations: 27.86 kB / 0.5579 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.1593, allocations: 19.86 kB / 0.5579 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1593, allocations: 4 kB / 0.5579 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1594, allocations: 31.98 kB / 0.5579 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1595, allocations: 15.92 kB / 0.558 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.1595, allocations: 31.8 kB / 0.558 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1597, allocations: 79.61 kB / 0.5581 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1597, allocations: 0 / 0.5581 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1597, allocations: 4 kB / 0.5581 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1597, allocations: 0 / 0.5581 GB, free: 2.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005976/0.1603, allocations: 394.9 kB / 0.5584 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1604, allocations: 8.031 kB / 0.5585 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.1604, allocations: 38.73 kB / 0.5585 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1605, allocations: 8.891 kB / 0.5585 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1607, allocations: 192.3 kB / 0.5587 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1607, allocations: 384 / 0.5587 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1608, allocations: 4.359 kB / 0.5587 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1609, allocations: 50.25 kB / 0.5587 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1609, allocations: 3.938 kB / 0.5587 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1609, allocations: 0 / 0.5587 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1609, allocations: 4 kB / 0.5587 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.161, allocations: 27.91 kB / 0.5588 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.1615, allocations: 284.9 kB / 0.559 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1618, allocations: 42.56 kB / 0.5591 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.1619, allocations: 20.94 kB / 0.5591 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1619, allocations: 3.938 kB / 0.5591 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1619, allocations: 34.56 kB / 0.5591 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1619, allocations: 0 / 0.5591 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006207/0.1625, allocations: 161.6 kB / 0.5593 GB, free: 1.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1626, allocations: 51.41 kB / 0.5593 GB, free: 1.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1628, allocations: 164.8 kB / 0.5595 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1628, allocations: 29.64 kB / 0.5595 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1628, allocations: 100.1 kB / 0.5596 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1629, allocations: 15.8 kB / 0.5596 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1629, allocations: 21.7 kB / 0.5597 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1631, allocations: 326.8 kB / 0.56 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.1631, allocations: 23.97 kB / 0.56 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1632, allocations: 23.92 kB / 0.56 GB, free: 0.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1634, allocations: 52.83 kB / 0.5601 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1634, allocations: 0 / 0.5601 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002112/0.1636, allocations: 85.55 kB / 0.5602 GB, free: 492 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1636, allocations: 14.03 kB / 0.5602 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1636, allocations: 48 / 0.5602 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1636, allocations: 3.984 kB / 0.5602 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.1637, allocations: 15.98 kB / 0.5602 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1637, allocations: 0 / 0.5602 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1637, allocations: 4 kB / 0.5602 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1638, allocations: 7.938 kB / 0.5602 GB, free: 448 kB / 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 (5): * Single equations (assignments): 5 * 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.0001006/0.1639, allocations: 117.8 kB / 0.5603 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1639, allocations: 11.95 kB / 0.5603 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1642, allocations: 97.91 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1642, allocations: 0 / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1642, allocations: 0 / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1642, allocations: 0 / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.1647, allocations: 362.8 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1647, allocations: 4.062 kB / 0.5608 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1648, allocations: 12 kB / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1648, allocations: 0 / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1648, allocations: 11.92 kB / 0.5608 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1648, allocations: 3.938 kB / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1648, allocations: 0 / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.165, allocations: 183.5 kB / 0.561 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1651, allocations: 85.06 kB / 0.561 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1651, allocations: 0 / 0.561 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1652, allocations: 7.938 kB / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1652, allocations: 7.984 kB / 0.5611 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1652, allocations: 7.938 kB / 0.5611 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1653, allocations: 123.2 kB / 0.5612 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.5612 GB, free: 15.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1656, allocations: 15.95 kB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001969/0.1675, allocations: 1.011 MB / 0.5622 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1678, allocations: 51.91 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1678, allocations: 0 / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.1679, allocations: 39.91 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1682, allocations: 17.73 kB / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1702, allocations: 1.484 MB / 0.5637 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1705, allocations: 0.7041 MB / 0.5644 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.1706, allocations: 23.83 kB / 0.5645 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.1706, allocations: 23.42 kB / 0.5645 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1706, allocations: 0 / 0.5645 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.1985, allocations: 2.642 MB / 0.5671 GB, free: 9.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.13, allocations: 12.66 kB / 0.5671 GB, free: 9.336 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.534969773958437]