Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001258/0.001258, allocations: 121 kB / 18.5 MB, free: 4.562 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.001345/0.001345, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.56/1.56, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2389/0.2389, allocations: 44.9 MB / 355.8 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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="cs",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.001999/0.001999, allocations: 75.88 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 65.41 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003419/0.1601, allocations: 1.619 MB / 0.5541 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1613, allocations: 0.5416 MB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.1614, allocations: 0 / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.1618, allocations: 71.77 kB / 0.5546 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.1622, allocations: 103.6 kB / 0.5547 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1626, allocations: 91.69 kB / 0.5548 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1628, allocations: 95.73 kB / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1629, allocations: 19.88 kB / 0.5549 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.163, allocations: 31.91 kB / 0.555 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1631, allocations: 63.73 kB / 0.555 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1631, allocations: 4 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1632, allocations: 47.97 kB / 0.5551 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1633, allocations: 19.92 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.1633, allocations: 31.75 kB / 0.5551 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1636, allocations: 103.5 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1636, allocations: 0 / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1636, allocations: 4 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1636, allocations: 0 / 0.5552 GB, free: 7.262 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.0005826/0.1642, allocations: 422.7 kB / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1642, allocations: 8.031 kB / 0.5556 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.026e-05/0.1642, allocations: 192 / 0.5556 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1643, allocations: 42.69 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1643, allocations: 12.84 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1645, allocations: 207.2 kB / 0.5559 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1645, allocations: 4.375 kB / 0.5559 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1646, allocations: 8.125 kB / 0.5559 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1647, allocations: 61.61 kB / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1647, allocations: 0 / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1648, allocations: 3.984 kB / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1648, allocations: 0 / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1649, allocations: 27.97 kB / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1653, allocations: 292.8 kB / 0.5563 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1654, allocations: 46.5 kB / 0.5563 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1655, allocations: 16.94 kB / 0.5563 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1655, allocations: 4 kB / 0.5563 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1655, allocations: 30.56 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1655, allocations: 0 / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009301/0.1665, allocations: 233.2 kB / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1665, allocations: 55.34 kB / 0.5566 GB, free: 5.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1667, allocations: 210.4 kB / 0.5568 GB, free: 5.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1668, allocations: 29.7 kB / 0.5569 GB, free: 5.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.1668, allocations: 112.1 kB / 0.557 GB, free: 5.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1669, allocations: 35.67 kB / 0.557 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1669, allocations: 17.72 kB / 0.557 GB, free: 5.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.1672, allocations: 322.8 kB / 0.5573 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1673, allocations: 23.98 kB / 0.5574 GB, free: 4.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1673, allocations: 27.97 kB / 0.5574 GB, free: 4.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1675, allocations: 64.83 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1675, allocations: 3.938 kB / 0.5575 GB, free: 4.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002234/0.1677, allocations: 101.6 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1677, allocations: 4 kB / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1677, allocations: 0 / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1678, allocations: 0 / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1679, allocations: 23.92 kB / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1679, allocations: 3.938 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1679, allocations: 11.98 kB / 0.5576 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1679, allocations: 0 / 0.5576 GB, free: 4.609 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.0001099/0.168, allocations: 128 kB / 0.5577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1681, allocations: 15.89 kB / 0.5577 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.1684, allocations: 111.4 kB / 0.5578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1684, allocations: 3.938 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1684, allocations: 7.922 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1684, allocations: 0 / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.169, allocations: 419.3 kB / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.169, allocations: 3.938 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.169, allocations: 19.98 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1691, allocations: 0 / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1691, allocations: 4 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1691, allocations: 0 / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1691, allocations: 4 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1693, allocations: 204.3 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1694, allocations: 89.38 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1694, allocations: 8 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1695, allocations: 7.984 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1695, allocations: 4 kB / 0.5586 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1695, allocations: 4 kB / 0.5586 GB, free: 3.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1697, allocations: 168.2 kB / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1697, allocations: 0 / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1699, allocations: 23.92 kB / 0.5588 GB, free: 3.293 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.002246/0.1722, allocations: 1.1 MB / 0.5598 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1725, allocations: 59.97 kB / 0.5599 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1725, allocations: 0 / 0.5599 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.1726, allocations: 39.91 kB / 0.5599 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.173, allocations: 19.92 kB / 0.56 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.1751, allocations: 1.675 MB / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.1755, allocations: 0.7041 MB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.1755, allocations: 16.95 kB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1756, allocations: 35.42 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1756, allocations: 3.938 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.1964, allocations: 3.165 MB / 0.5654 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.534, allocations: 11.98 kB / 0.5654 GB, free: 12.58 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.894965808023699]