Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001263/0.001263, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001442/0.001442, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.514/1.514, 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.2372/0.2372, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.89 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.134, allocations: 65.98 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003976/0.138, allocations: 2.048 MB / 0.5574 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1401, allocations: 1.029 MB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1402, allocations: 4 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.1408, allocations: 259.1 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1414, allocations: 259.1 kB / 0.5589 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1426, allocations: 493.5 kB / 0.5594 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.1432, allocations: 334.8 kB / 0.5597 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1434, allocations: 52.72 kB / 0.5597 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1437, allocations: 147.4 kB / 0.5599 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.144, allocations: 231.2 kB / 0.5601 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1441, allocations: 12 kB / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.1442, allocations: 63.98 kB / 0.5602 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1444, allocations: 107.5 kB / 0.5603 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1445, allocations: 131 kB / 0.5604 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.1451, allocations: 346.2 kB / 0.5607 GB, free: 376 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1451, allocations: 0 / 0.5607 GB, free: 376 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1451, allocations: 4 kB / 0.5607 GB, free: 372 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1451, allocations: 0 / 0.5607 GB, free: 372 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001026/0.1461, allocations: 0.6841 MB / 0.5614 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1461, allocations: 8.031 kB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.1462, allocations: 46.73 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1463, allocations: 48.61 kB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1467, allocations: 342.4 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1468, allocations: 8.375 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1468, allocations: 8.375 kB / 0.5618 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1471, allocations: 119.6 kB / 0.5619 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1471, allocations: 0 / 0.5619 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1471, allocations: 4 kB / 0.5619 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1471, allocations: 4 kB / 0.562 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1473, allocations: 67.95 kB / 0.562 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.1482, allocations: 0.5081 MB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1484, allocations: 90.53 kB / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.1484, allocations: 28.84 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1485, allocations: 4 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1485, allocations: 34.5 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1485, allocations: 4 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.1496, allocations: 400.6 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1496, allocations: 59.31 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.1504, allocations: 0.5838 MB / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1504, allocations: 29.7 kB / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1506, allocations: 216.4 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.1507, allocations: 63.48 kB / 0.564 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.1507, allocations: 33.7 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1509, allocations: 350.8 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1511, allocations: 51.97 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1512, allocations: 51.97 kB / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1515, allocations: 118.5 kB / 0.5646 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1515, allocations: 4 kB / 0.5646 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004053/0.1519, allocations: 211.2 kB / 0.5648 GB, free: 11.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1519, allocations: 4 kB / 0.5648 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1519, allocations: 3.938 kB / 0.5648 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1519, allocations: 4 kB / 0.5648 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1521, allocations: 31.97 kB / 0.5648 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1521, allocations: 4 kB / 0.5648 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.1522, allocations: 8 kB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1522, allocations: 8 kB / 0.5648 GB, free: 11.93 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 (17): * Single equations (assignments): 17 * 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.0001948/0.1524, allocations: 181.7 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.1525, allocations: 43.72 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.153, allocations: 237.7 kB / 0.5653 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.153, allocations: 4 kB / 0.5653 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.153, allocations: 0 / 0.5653 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.153, allocations: 3.984 kB / 0.5653 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.1539, allocations: 0.6451 MB / 0.5659 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1539, allocations: 0 / 0.5659 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.154, allocations: 39.91 kB / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.154, allocations: 0 / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1541, allocations: 4 kB / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1541, allocations: 7.938 kB / 0.5659 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1541, allocations: 0 / 0.5659 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.1545, allocations: 307.1 kB / 0.5662 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1546, allocations: 116.8 kB / 0.5663 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1547, allocations: 4 kB / 0.5664 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1548, allocations: 19.92 kB / 0.5664 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1548, allocations: 11.92 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1548, allocations: 4 kB / 0.5664 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005704/0.1554, allocations: 439.1 kB / 0.5668 GB, free: 9.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 4 kB / 0.5668 GB, free: 9.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.1558, allocations: 51.92 kB / 0.5669 GB, free: 9.727 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 (17): * Single equations (assignments): 17 * 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.003719/0.1595, allocations: 1.445 MB / 0.5683 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1599, allocations: 126.7 kB / 0.5684 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1599, allocations: 0 / 0.5684 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.16, allocations: 67.91 kB / 0.5685 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.1607, allocations: 84.25 kB / 0.5685 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.1656, allocations: 3.172 MB / 0.5716 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.1661, allocations: 0.8142 MB / 0.5724 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1663, allocations: 54.23 kB / 0.5725 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.1665, allocations: 135.3 kB / 0.5726 GB, free: 4.027 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1665, allocations: 0 / 0.5726 GB, free: 4.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.2013, allocations: 7.667 MB / 0.5801 GB, free: 12.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.704, allocations: 12.31 kB / 0.5801 GB, free: 12.36 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 12.079651061911136]