Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001637/0.001637, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001921/0.001921, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.567/1.567, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2521/0.2521, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.88 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.146, allocations: 65.98 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003045/0.149, allocations: 1.61 MB / 0.557 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1509, allocations: 1.179 MB / 0.5581 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1509, allocations: 4 kB / 0.5581 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1512, allocations: 27.84 kB / 0.5581 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1515, allocations: 87.61 kB / 0.5582 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1518, allocations: 107.7 kB / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1519, allocations: 71.77 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.152, allocations: 8 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.1521, allocations: 23.92 kB / 0.5584 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1523, allocations: 39.83 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1523, allocations: 4 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1524, allocations: 91.88 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.1525, allocations: 19.92 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.1525, allocations: 31.8 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1528, allocations: 135.5 kB / 0.5587 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1528, allocations: 4 kB / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1528, allocations: 3.938 kB / 0.5587 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1528, allocations: 0 / 0.5587 GB, free: 2.344 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.0005875/0.1534, allocations: 406.8 kB / 0.5591 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1534, allocations: 8.031 kB / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.1535, allocations: 34.75 kB / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/0.1535, allocations: 8.891 kB / 0.5592 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1537, allocations: 200.2 kB / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1537, allocations: 384 / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1538, allocations: 8.375 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1539, allocations: 67.27 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1539, allocations: 0 / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1539, allocations: 4 kB / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1539, allocations: 0 / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1541, allocations: 27.98 kB / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.1545, allocations: 276.9 kB / 0.5597 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1547, allocations: 46.5 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.1547, allocations: 24.94 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1548, allocations: 0 / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1548, allocations: 38.5 kB / 0.5598 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1548, allocations: 0 / 0.5598 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008591/0.1556, allocations: 149.4 kB / 0.56 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.1557, allocations: 81.11 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.156, allocations: 147.5 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.156, allocations: 29.7 kB / 0.5602 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1561, allocations: 92.14 kB / 0.5603 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1561, allocations: 23.78 kB / 0.5603 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.1562, allocations: 13.72 kB / 0.5604 GB, free: 476 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1564, allocations: 322.8 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1565, allocations: 23.97 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1566, allocations: 41.64 kB / 0.5607 GB, free: 72 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.1569, allocations: 52.8 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1569, allocations: 0 / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003652/0.1572, allocations: 89.86 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1572, allocations: 4 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1572, allocations: 4 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1573, allocations: 0 / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1574, allocations: 15.98 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1574, allocations: 4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.1575, allocations: 11.94 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1575, allocations: 0 / 0.5609 GB, free: 15.88 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.0001451/0.1576, allocations: 120 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.1577, allocations: 7.953 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.158, allocations: 97.91 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.158, allocations: 0 / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.158, allocations: 8.266 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1581, allocations: 3.938 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1586, allocations: 358.5 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1586, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.1586, allocations: 15.98 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1586, allocations: 0 / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1587, allocations: 3.938 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1587, allocations: 0 / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1587, allocations: 7.984 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1589, allocations: 179.5 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.159, allocations: 89.05 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.159, allocations: 3.938 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1591, allocations: 4.188 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1591, allocations: 7.984 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1591, allocations: 12 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1593, allocations: 113.2 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 3.938 kB / 0.5619 GB, free: 14.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1596, allocations: 39.86 kB / 0.5619 GB, free: 14.72 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.002371/0.1619, allocations: 1.105 MB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1622, allocations: 51.84 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1622, allocations: 0 / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.1623, allocations: 31.97 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1626, allocations: 8 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1645, allocations: 1.46 MB / 0.5645 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1649, allocations: 0.6923 MB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.165, allocations: 20 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.165, allocations: 27.42 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.165, allocations: 0 / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.1954, allocations: 3.273 MB / 0.5684 GB, free: 8.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.374, allocations: 15.67 kB / 0.5685 GB, free: 8.113 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.588296656031162]