Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001882/0.001882, allocations: 113 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.002298/0.002298, allocations: 217.4 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.587/1.587, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2518/0.2518, allocations: 44.91 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.002012/0.002012, allocations: 69.92 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1447, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003899/0.1486, allocations: 2.058 MB / 0.5545 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.151, allocations: 1.118 MB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1512, allocations: 7.938 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.1518, allocations: 271.1 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.1524, allocations: 263.1 kB / 0.5561 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.154, allocations: 0.649 MB / 0.5567 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.1545, allocations: 354.8 kB / 0.557 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1547, allocations: 68.64 kB / 0.5571 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1549, allocations: 159.3 kB / 0.5573 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1552, allocations: 223.2 kB / 0.5575 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1552, allocations: 12 kB / 0.5575 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.1555, allocations: 107.9 kB / 0.5576 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.1557, allocations: 111.6 kB / 0.5577 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1559, allocations: 130.9 kB / 0.5578 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.1565, allocations: 370.2 kB / 0.5582 GB, free: 4.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1565, allocations: 0 / 0.5582 GB, free: 4.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1565, allocations: 0 / 0.5582 GB, free: 4.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1565, allocations: 0 / 0.5582 GB, free: 4.266 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001024/0.1575, allocations: 0.7112 MB / 0.5589 GB, free: 3.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1576, allocations: 12.02 kB / 0.5589 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.1576, allocations: 12.12 kB / 0.5589 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.1577, allocations: 42.75 kB / 0.5589 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.1577, allocations: 44.66 kB / 0.559 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.1582, allocations: 346.5 kB / 0.5593 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1582, allocations: 12.31 kB / 0.5593 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.1582, allocations: 16.12 kB / 0.5593 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1585, allocations: 127.7 kB / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1585, allocations: 3.953 kB / 0.5595 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1585, allocations: 7.984 kB / 0.5595 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1586, allocations: 0 / 0.5595 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1588, allocations: 95.94 kB / 0.5596 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.1596, allocations: 0.5199 MB / 0.5601 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1598, allocations: 106.5 kB / 0.5602 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.1599, allocations: 36.84 kB / 0.5602 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1599, allocations: 8 kB / 0.5602 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.16, allocations: 42.48 kB / 0.5603 GB, free: 1.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.16, allocations: 0 / 0.5603 GB, free: 1.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00112/0.1611, allocations: 453.1 kB / 0.5607 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1611, allocations: 59.31 kB / 0.5607 GB, free: 1.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.1619, allocations: 0.5995 MB / 0.5613 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1619, allocations: 29.7 kB / 0.5614 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1621, allocations: 212.4 kB / 0.5616 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.1621, allocations: 67.42 kB / 0.5616 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.1622, allocations: 29.72 kB / 0.5616 GB, free: 496 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1624, allocations: 366.7 kB / 0.562 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1626, allocations: 59.95 kB / 0.5621 GB, free: 60 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1627, allocations: 73.77 kB / 0.5621 GB, free: 15.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.163, allocations: 159.3 kB / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.163, allocations: 0 / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004491/0.1635, allocations: 237.2 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1635, allocations: 4 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1635, allocations: 7.938 kB / 0.5625 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1635, allocations: 0 / 0.5625 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1637, allocations: 35.92 kB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1637, allocations: 7.984 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.1638, allocations: 4 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1638, allocations: 8 kB / 0.5626 GB, free: 15.53 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.0001999/0.164, allocations: 181.7 kB / 0.5627 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.1641, allocations: 47.67 kB / 0.5628 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.1647, allocations: 283.6 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1647, allocations: 0 / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1647, allocations: 8 kB / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1647, allocations: 3.938 kB / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.1656, allocations: 0.6933 MB / 0.5637 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1656, allocations: 0 / 0.5637 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1658, allocations: 31.98 kB / 0.5638 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1658, allocations: 3.984 kB / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1658, allocations: 8 kB / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1658, allocations: 7.938 kB / 0.5638 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1658, allocations: 3.938 kB / 0.5638 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.1663, allocations: 340.8 kB / 0.5641 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.1664, allocations: 120.8 kB / 0.5642 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.1664, allocations: 4 kB / 0.5642 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1665, allocations: 11.92 kB / 0.5643 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.1666, allocations: 15.98 kB / 0.5643 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1666, allocations: 8 kB / 0.5643 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.1671, allocations: 446.8 kB / 0.5647 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1671, allocations: 0 / 0.5647 GB, free: 13.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1674, allocations: 51.94 kB / 0.5648 GB, free: 13.18 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.003733/0.1712, allocations: 1.466 MB / 0.5662 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.1716, allocations: 163.8 kB / 0.5663 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1716, allocations: 0 / 0.5663 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1718, allocations: 91.81 kB / 0.5664 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.1725, allocations: 85.52 kB / 0.5665 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.1772, allocations: 3.344 MB / 0.5698 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1777, allocations: 0.8299 MB / 0.5706 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.1778, allocations: 62.23 kB / 0.5706 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.178, allocations: 135.4 kB / 0.5708 GB, free: 7.191 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.178, allocations: 0 / 0.5708 GB, free: 7.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.2033, allocations: 7.959 MB / 0.5785 GB, free: 15.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/8.929, allocations: 16.16 kB / 0.5786 GB, free: 15.25 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.414995994011406]