Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001728/0.001728, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.595/1.595, allocations: 230.4 MB / 254 MB, free: 15 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.2514/0.2514, allocations: 46.92 MB / 357 MB, free: 10.17 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 79.88 kB / 0.491 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1448, allocations: 66.04 MB / 0.5555 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00369/0.1485, allocations: 1.606 MB / 0.5571 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1504, allocations: 1.175 MB / 0.5582 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.1505, allocations: 0 / 0.5582 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1508, allocations: 27.78 kB / 0.5582 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.151, allocations: 91.61 kB / 0.5583 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1514, allocations: 101.5 kB / 0.5584 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1515, allocations: 71.77 kB / 0.5585 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1516, allocations: 8 kB / 0.5585 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.1517, allocations: 31.84 kB / 0.5585 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1519, allocations: 35.84 kB / 0.5585 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1519, allocations: 4 kB / 0.5586 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1521, allocations: 95.94 kB / 0.5586 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1521, allocations: 23.86 kB / 0.5587 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1522, allocations: 23.8 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1525, allocations: 139.5 kB / 0.5588 GB, free: 2.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1525, allocations: 0 / 0.5588 GB, free: 2.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1525, allocations: 0 / 0.5588 GB, free: 2.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1525, allocations: 0 / 0.5588 GB, free: 2.047 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.0006/0.1531, allocations: 406.8 kB / 0.5592 GB, free: 1.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1531, allocations: 12.03 kB / 0.5592 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.1532, allocations: 30.75 kB / 0.5593 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1532, allocations: 12.89 kB / 0.5593 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1535, allocations: 204.1 kB / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1535, allocations: 384 / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1535, allocations: 8.375 kB / 0.5595 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1537, allocations: 63.95 kB / 0.5595 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1537, allocations: 3.938 kB / 0.5595 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1537, allocations: 0 / 0.5595 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1537, allocations: 4 kB / 0.5595 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1538, allocations: 23.98 kB / 0.5596 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1543, allocations: 288.8 kB / 0.5598 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1546, allocations: 42.56 kB / 0.5599 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.1547, allocations: 20.94 kB / 0.5599 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1547, allocations: 3.984 kB / 0.5599 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.1547, allocations: 38.56 kB / 0.5599 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1547, allocations: 0 / 0.5599 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006708/0.1554, allocations: 149.4 kB / 0.5601 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.1555, allocations: 77.11 kB / 0.5602 GB, free: 492 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1556, allocations: 151.9 kB / 0.5603 GB, free: 332 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1557, allocations: 33.7 kB / 0.5603 GB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1557, allocations: 88.14 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1558, allocations: 23.78 kB / 0.5604 GB, free: 176 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1558, allocations: 21.72 kB / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.156, allocations: 318.8 kB / 0.5608 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.156, allocations: 23.97 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.1561, allocations: 37.64 kB / 0.5608 GB, free: 15.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1563, allocations: 52.86 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1563, allocations: 0 / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002175/0.1565, allocations: 89.61 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1565, allocations: 4 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1565, allocations: 3.938 kB / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1565, allocations: 0 / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.1566, allocations: 15.98 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1566, allocations: 4 kB / 0.561 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1567, allocations: 4.25 kB / 0.561 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1567, allocations: 0 / 0.561 GB, free: 15.58 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 (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.0001043/0.1568, allocations: 121.8 kB / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1568, allocations: 11.95 kB / 0.5611 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.1571, allocations: 93.97 kB / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1571, allocations: 0 / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1571, allocations: 11.92 kB / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1571, allocations: 0 / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1576, allocations: 366.5 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1576, allocations: 0 / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1576, allocations: 8 kB / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1576, allocations: 0 / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1576, allocations: 0 / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1577, allocations: 4 kB / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1577, allocations: 11.92 kB / 0.5616 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1579, allocations: 175.4 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.158, allocations: 89.05 kB / 0.5618 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.158, allocations: 4 kB / 0.5618 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.1581, allocations: 7.938 kB / 0.5618 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1581, allocations: 11.92 kB / 0.5619 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1581, allocations: 4 kB / 0.5619 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1582, allocations: 113.1 kB / 0.562 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1582, allocations: 0 / 0.562 GB, free: 14.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1585, allocations: 39.86 kB / 0.562 GB, free: 14.42 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.002406/0.1609, allocations: 1.105 MB / 0.5631 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1612, allocations: 43.97 kB / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1612, allocations: 4 kB / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.1613, allocations: 35.91 kB / 0.5632 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1617, allocations: 17.25 kB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1636, allocations: 1.451 MB / 0.5646 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.164, allocations: 0.6923 MB / 0.5653 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.1641, allocations: 19.77 kB / 0.5653 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.1641, allocations: 27.42 kB / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1641, allocations: 0 / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.1943, allocations: 3.264 MB / 0.5685 GB, free: 7.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.174, allocations: 2.812 kB / 0.5685 GB, free: 7.805 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.631130937021226]