Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.001916/0.001916, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001515/0.001515, allocations: 219 kB / 21.46 MB, free: 1.586 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.535/1.535, allocations: 230.6 MB / 254.8 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.239/0.239, allocations: 46.92 MB / 357.8 MB, free: 10.38 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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.89 kB / 0.4916 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.139, allocations: 65.99 MB / 0.5561 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003706/0.1427, allocations: 1.948 MB / 0.558 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1448, allocations: 1.103 MB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.145, allocations: 4 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.1455, allocations: 263.1 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.1461, allocations: 267.1 kB / 0.5596 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1475, allocations: 0.6257 MB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.1481, allocations: 331.1 kB / 0.5605 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1482, allocations: 40.73 kB / 0.5605 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1485, allocations: 147.4 kB / 0.5607 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.1488, allocations: 215.2 kB / 0.5609 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1488, allocations: 12 kB / 0.5609 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1489, allocations: 55.98 kB / 0.5609 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1491, allocations: 99.59 kB / 0.561 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.1492, allocations: 119 kB / 0.5611 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.1497, allocations: 310.4 kB / 0.5614 GB, free: 384 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1497, allocations: 3.938 kB / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1497, allocations: 0 / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1497, allocations: 0 / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009755/0.1507, allocations: 0.6724 MB / 0.5621 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1507, allocations: 16.02 kB / 0.5621 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.1507, allocations: 4.188 kB / 0.5621 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1508, allocations: 38.75 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.1509, allocations: 48.61 kB / 0.5622 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1513, allocations: 338.5 kB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1513, allocations: 8.375 kB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1513, allocations: 8.125 kB / 0.5625 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.1516, allocations: 99.69 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.1516, allocations: 0 / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1516, allocations: 0 / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1516, allocations: 4 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1518, allocations: 75.94 kB / 0.5627 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007317/0.1525, allocations: 480.4 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1527, allocations: 66.53 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1528, allocations: 32.97 kB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1528, allocations: 4 kB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1528, allocations: 34.56 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1528, allocations: 0 / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004182/0.1532, allocations: 169.2 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1533, allocations: 55.34 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.154, allocations: 0.5996 MB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.154, allocations: 25.7 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1542, allocations: 212.1 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1542, allocations: 23.78 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1543, allocations: 25.66 kB / 0.5644 GB, free: 13.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1544, allocations: 350.8 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.1545, allocations: 28.22 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.1546, allocations: 31.98 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1547, allocations: 60.83 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1547, allocations: 0 / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002666/0.155, allocations: 141.3 kB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.155, allocations: 4 kB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.155, allocations: 0 / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.155, allocations: 3.938 kB / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1551, allocations: 19.98 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1551, allocations: 0 / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.1552, allocations: 4 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1552, allocations: 0 / 0.565 GB, free: 12.5 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 (6): * Single equations (assignments): 6 * 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.0001749/0.1554, allocations: 180 kB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1555, allocations: 39.72 kB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1558, allocations: 169 kB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1558, allocations: 0 / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1558, allocations: 0 / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1558, allocations: 0 / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.1562, allocations: 305.5 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1562, allocations: 0 / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.1563, allocations: 11.98 kB / 0.5657 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1563, allocations: 4 kB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1563, allocations: 8.188 kB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1563, allocations: 0 / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.1563, allocations: 4 kB / 0.5657 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1566, allocations: 231.2 kB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.794e-05/0.1567, allocations: 120.8 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1568, allocations: 7.938 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.1569, allocations: 8 kB / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.1569, allocations: 7.984 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1569, allocations: 0 / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005211/0.1574, allocations: 458.8 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1574, allocations: 0 / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1577, allocations: 35.89 kB / 0.5665 GB, free: 10.84 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 (6): * Single equations (assignments): 6 * 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.002938/0.1606, allocations: 1.26 MB / 0.5677 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1609, allocations: 71.89 kB / 0.5678 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1609, allocations: 0 / 0.5678 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.1609, allocations: 39.86 kB / 0.5678 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.1615, allocations: 70.2 kB / 0.5679 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.1653, allocations: 2.973 MB / 0.5708 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.1658, allocations: 0.8139 MB / 0.5716 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.166, allocations: 49.91 kB / 0.5717 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.1661, allocations: 115.4 kB / 0.5718 GB, free: 5.598 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1661, allocations: 0 / 0.5718 GB, free: 5.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1912, allocations: 7.065 MB / 0.5787 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/8.946, allocations: 4.875 kB / 0.5787 GB, free: 14.56 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.275464300997555]