Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001756/0.001756, allocations: 114.3 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.002488/0.002488, 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2406/0.2406, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001963/0.001963, allocations: 79.88 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 65.41 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003403/0.1435, allocations: 1.679 MB / 0.5541 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1447, allocations: 0.5883 MB / 0.5547 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.1448, allocations: 0 / 0.5547 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.1454, allocations: 459.1 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.1459, allocations: 291.3 kB / 0.5554 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1464, allocations: 182.5 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1466, allocations: 187.5 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1468, allocations: 16.45 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1469, allocations: 119.7 kB / 0.5559 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1472, allocations: 247.5 kB / 0.5561 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1473, allocations: 4 kB / 0.5561 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1474, allocations: 47.98 kB / 0.5562 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1475, allocations: 91.56 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1476, allocations: 111 kB / 0.5564 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.148, allocations: 286.5 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.148, allocations: 0 / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.148, allocations: 0 / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1481, allocations: 0 / 0.5566 GB, free: 5.824 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008999/0.149, allocations: 0.6684 MB / 0.5573 GB, free: 5.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.149, allocations: 12.03 kB / 0.5573 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.238e-05/0.149, allocations: 192 / 0.5573 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.149, allocations: 38.69 kB / 0.5573 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.1491, allocations: 44.66 kB / 0.5574 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1495, allocations: 312.6 kB / 0.5577 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1495, allocations: 4.375 kB / 0.5577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1495, allocations: 12.06 kB / 0.5577 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1497, allocations: 65.67 kB / 0.5577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1497, allocations: 0 / 0.5577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1497, allocations: 0 / 0.5577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1497, allocations: 3.938 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1498, allocations: 35.97 kB / 0.5578 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.1504, allocations: 412.6 kB / 0.5582 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1505, allocations: 50.58 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1506, allocations: 20.94 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1506, allocations: 4 kB / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1506, allocations: 30.56 kB / 0.5583 GB, free: 3.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1506, allocations: 4 kB / 0.5583 GB, free: 3.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0011/0.1517, allocations: 336.4 kB / 0.5586 GB, free: 3.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1518, allocations: 51.41 kB / 0.5587 GB, free: 3.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.1528, allocations: 0.8816 MB / 0.5595 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1528, allocations: 29.7 kB / 0.5595 GB, free: 2.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.153, allocations: 220.1 kB / 0.5598 GB, free: 2.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.153, allocations: 31.73 kB / 0.5598 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1531, allocations: 25.66 kB / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1533, allocations: 362.8 kB / 0.5602 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.1534, allocations: 27.98 kB / 0.5602 GB, free: 1.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.1535, allocations: 35.97 kB / 0.5602 GB, free: 1.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.1537, allocations: 72.83 kB / 0.5603 GB, free: 1.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1537, allocations: 0 / 0.5603 GB, free: 1.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002971/0.154, allocations: 157.3 kB / 0.5604 GB, free: 1.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.154, allocations: 4 kB / 0.5604 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.154, allocations: 0 / 0.5604 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.154, allocations: 7.875 kB / 0.5604 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1541, allocations: 23.92 kB / 0.5605 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1541, allocations: 4 kB / 0.5605 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.649e-05/0.1542, allocations: 4 kB / 0.5605 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1542, allocations: 4 kB / 0.5605 GB, free: 1.633 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.0002203/0.1544, allocations: 216 kB / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.1545, allocations: 43.72 kB / 0.5607 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.1549, allocations: 177.8 kB / 0.5609 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1549, allocations: 3.938 kB / 0.5609 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1549, allocations: 11.88 kB / 0.5609 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1549, allocations: 0 / 0.5609 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.1557, allocations: 0.5226 MB / 0.5614 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1557, allocations: 0 / 0.5614 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.1558, allocations: 19.98 kB / 0.5614 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1558, allocations: 4.031 kB / 0.5614 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1558, allocations: 0 / 0.5614 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1558, allocations: 4 kB / 0.5614 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1558, allocations: 0 / 0.5614 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1561, allocations: 256 kB / 0.5617 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1562, allocations: 116.8 kB / 0.5618 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1563, allocations: 8 kB / 0.5618 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.1564, allocations: 11.98 kB / 0.5618 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1564, allocations: 4 kB / 0.5618 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1564, allocations: 0 / 0.5618 GB, free: 136 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007778/0.1572, allocations: 0.6668 MB / 0.5625 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1572, allocations: 0 / 0.5625 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1575, allocations: 27.92 kB / 0.5625 GB, free: 15.44 MB / 430.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.002353/0.1598, allocations: 1.133 MB / 0.5636 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1601, allocations: 75.94 kB / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1601, allocations: 0 / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1602, allocations: 43.91 kB / 0.5637 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1606, allocations: 33.55 kB / 0.5638 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.1649, allocations: 3.399 MB / 0.5671 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.1655, allocations: 0.8299 MB / 0.5679 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.1656, allocations: 24.41 kB / 0.5679 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1657, allocations: 119.4 kB / 0.568 GB, free: 9.832 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1657, allocations: 0 / 0.568 GB, free: 9.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1911, allocations: 6.534 MB / 0.5744 GB, free: 3.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.009/9.2, allocations: 15.23 kB / 0.5744 GB, free: 3.336 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.533815612026956]