Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001932/0.001932, allocations: 118.8 kB / 18.49 MB, free: 4.586 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.002234/0.002234, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.558/1.558, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2735/0.2735, allocations: 44.89 MB / 355.8 MB, free: 12.34 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.002008/0.002008, allocations: 71.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1433, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004012/0.1474, allocations: 1.657 MB / 0.5541 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1488, allocations: 0.5767 MB / 0.5546 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.1489, allocations: 4 kB / 0.5546 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.1496, allocations: 455 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.1501, allocations: 295.3 kB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1507, allocations: 178.8 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.151, allocations: 183.6 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1511, allocations: 20.19 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1513, allocations: 107.7 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.1516, allocations: 251.5 kB / 0.5561 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1517, allocations: 4 kB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1518, allocations: 27.98 kB / 0.5561 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1519, allocations: 87.62 kB / 0.5562 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.152, allocations: 103 kB / 0.5563 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.1524, allocations: 274.6 kB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1524, allocations: 3.984 kB / 0.5565 GB, free: 5.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1524, allocations: 0 / 0.5565 GB, free: 5.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1524, allocations: 0 / 0.5565 GB, free: 5.922 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.0009916/0.1534, allocations: 0.6607 MB / 0.5572 GB, free: 5.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1535, allocations: 12.02 kB / 0.5572 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.1535, allocations: 8.188 kB / 0.5572 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1535, allocations: 30.75 kB / 0.5572 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.1536, allocations: 44.66 kB / 0.5573 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.154, allocations: 312.5 kB / 0.5576 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.154, allocations: 384 / 0.5576 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.154, allocations: 16.11 kB / 0.5576 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1542, allocations: 53.67 kB / 0.5576 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1542, allocations: 4 kB / 0.5576 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1542, allocations: 0 / 0.5576 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.1542, allocations: 4 kB / 0.5576 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1544, allocations: 27.97 kB / 0.5577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.155, allocations: 404.6 kB / 0.5581 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1553, allocations: 42.56 kB / 0.5581 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.1553, allocations: 24.94 kB / 0.5581 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1553, allocations: 0 / 0.5581 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1554, allocations: 34.56 kB / 0.5582 GB, free: 4.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1554, allocations: 3.938 kB / 0.5582 GB, free: 4.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007319/0.1561, allocations: 240.7 kB / 0.5584 GB, free: 3.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1562, allocations: 55.41 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1574, allocations: 0.8854 MB / 0.5593 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1574, allocations: 29.7 kB / 0.5593 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.1577, allocations: 220.1 kB / 0.5595 GB, free: 2.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.1577, allocations: 23.84 kB / 0.5596 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1578, allocations: 13.72 kB / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1579, allocations: 358.8 kB / 0.5599 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/0.158, allocations: 35.97 kB / 0.56 GB, free: 2.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.1581, allocations: 19.98 kB / 0.56 GB, free: 2.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1583, allocations: 52.83 kB / 0.56 GB, free: 2.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1583, allocations: 0 / 0.56 GB, free: 2.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002649/0.1585, allocations: 125.4 kB / 0.5601 GB, free: 1.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1585, allocations: 4 kB / 0.5602 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1586, allocations: 0 / 0.5602 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1586, allocations: 7.938 kB / 0.5602 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1586, allocations: 15.98 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1587, allocations: 3.938 kB / 0.5602 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.1587, allocations: 4 kB / 0.5602 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1587, allocations: 7.984 kB / 0.5602 GB, free: 1.938 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 (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.0002978/0.159, allocations: 215.9 kB / 0.5604 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.1591, allocations: 51.61 kB / 0.5604 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.1594, allocations: 149.2 kB / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1594, allocations: 0 / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1594, allocations: 3.938 kB / 0.5606 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1594, allocations: 3.938 kB / 0.5606 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.1601, allocations: 466.5 kB / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1601, allocations: 4.297 kB / 0.561 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.1602, allocations: 12 kB / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1602, allocations: 7.938 kB / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1602, allocations: 4 kB / 0.5611 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1602, allocations: 0 / 0.5611 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1602, allocations: 0 / 0.5611 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1605, allocations: 219.2 kB / 0.5613 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.1606, allocations: 116.8 kB / 0.5614 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1606, allocations: 3.938 kB / 0.5614 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.1607, allocations: 8 kB / 0.5614 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1608, allocations: 7.984 kB / 0.5614 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1608, allocations: 288 / 0.5614 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007293/0.1615, allocations: 0.6628 MB / 0.5621 GB, free: 15.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1615, allocations: 0 / 0.5621 GB, free: 15.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1618, allocations: 23.95 kB / 0.5621 GB, free: 15.9 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.002169/0.164, allocations: 1.075 MB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1642, allocations: 55.95 kB / 0.5632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1642, allocations: 0 / 0.5632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.1643, allocations: 27.92 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1648, allocations: 31.05 kB / 0.5632 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.1692, allocations: 3.271 MB / 0.5664 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.1697, allocations: 0.826 MB / 0.5672 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.1698, allocations: 20.66 kB / 0.5673 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.17, allocations: 111.4 kB / 0.5674 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.17, allocations: 0 / 0.5674 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1951, allocations: 6.198 MB / 0.5734 GB, free: 4.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.071/9.266, allocations: 8 kB / 0.5734 GB, free: 4.352 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 12.659750846971292]