Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001405/0.001405, 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.00169/0.00169, 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.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2198/0.2198, allocations: 44.9 MB / 355.8 MB, free: 12.3 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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.003406/0.003406, allocations: 65.88 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1415, allocations: 65.43 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002967/0.1444, allocations: 1.681 MB / 0.5541 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1455, allocations: 0.561 MB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.1455, allocations: 4 kB / 0.5547 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1457, allocations: 59.78 kB / 0.5547 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.146, allocations: 91.61 kB / 0.5548 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1463, allocations: 138.6 kB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1465, allocations: 91.75 kB / 0.555 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.1466, allocations: 20.44 kB / 0.555 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1467, allocations: 35.84 kB / 0.5551 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.406e-05/0.1468, allocations: 51.81 kB / 0.5551 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1468, allocations: 8 kB / 0.5551 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1469, allocations: 51.92 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.147, allocations: 31.84 kB / 0.5552 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.147, allocations: 31.73 kB / 0.5552 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1472, allocations: 115.6 kB / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1472, allocations: 0 / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1472, allocations: 0 / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1472, allocations: 0 / 0.5554 GB, free: 7.102 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.0005551/0.1478, allocations: 430.7 kB / 0.5558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1478, allocations: 12.03 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.286e-05/0.1478, allocations: 4.188 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.1478, allocations: 38.75 kB / 0.5558 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1479, allocations: 12.84 kB / 0.5558 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1481, allocations: 210.2 kB / 0.556 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.1481, allocations: 384 / 0.556 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1481, allocations: 12.12 kB / 0.556 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1483, allocations: 69.59 kB / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1483, allocations: 0 / 0.5561 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1483, allocations: 4 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.1483, allocations: 0 / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1485, allocations: 39.91 kB / 0.5562 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.1489, allocations: 312.7 kB / 0.5564 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1491, allocations: 54.56 kB / 0.5565 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.1492, allocations: 24.97 kB / 0.5565 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1492, allocations: 0 / 0.5565 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1492, allocations: 34.55 kB / 0.5566 GB, free: 5.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1492, allocations: 0 / 0.5566 GB, free: 5.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001497/0.1507, allocations: 401 kB / 0.5569 GB, free: 5.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1507, allocations: 55.39 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1509, allocations: 189.7 kB / 0.5572 GB, free: 5.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.151, allocations: 29.69 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.151, allocations: 104.1 kB / 0.5573 GB, free: 4.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.1511, allocations: 43.67 kB / 0.5573 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1511, allocations: 25.7 kB / 0.5574 GB, free: 4.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1513, allocations: 326.8 kB / 0.5577 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1514, allocations: 44.47 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1515, allocations: 43.97 kB / 0.5578 GB, free: 4.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1518, allocations: 100.8 kB / 0.5579 GB, free: 4.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1518, allocations: 4 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003407/0.1521, allocations: 145.4 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1521, allocations: 8 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1521, allocations: 4 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1522, allocations: 3.938 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1523, allocations: 27.97 kB / 0.558 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1523, allocations: 0 / 0.558 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.1524, allocations: 12 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1524, allocations: 8 kB / 0.5581 GB, free: 4.098 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 (11): * Single equations (assignments): 11 * 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.000105/0.1525, allocations: 125.8 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1525, allocations: 11.91 kB / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.1529, allocations: 167.3 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1529, allocations: 8 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1529, allocations: 0 / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1529, allocations: 3.984 kB / 0.5584 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.1536, allocations: 472 kB / 0.5588 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1537, allocations: 0 / 0.5588 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1538, allocations: 32.12 kB / 0.5588 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1538, allocations: 7.938 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1538, allocations: 0 / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1538, allocations: 4 kB / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1538, allocations: 0 / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1542, allocations: 261.1 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1542, allocations: 89.02 kB / 0.5592 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1543, allocations: 11.98 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1544, allocations: 4 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1544, allocations: 11.98 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1544, allocations: 4 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1545, allocations: 149.8 kB / 0.5594 GB, free: 2.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1545, allocations: 4 kB / 0.5594 GB, free: 2.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1548, allocations: 23.98 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002445/0.1573, allocations: 1.143 MB / 0.5605 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.1576, allocations: 107.8 kB / 0.5606 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1576, allocations: 4 kB / 0.5606 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1578, allocations: 59.89 kB / 0.5607 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1582, allocations: 20.86 kB / 0.5607 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.1609, allocations: 1.826 MB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1614, allocations: 0.7158 MB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.1614, allocations: 12.55 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1615, allocations: 39.42 kB / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1615, allocations: 7.938 kB / 0.5632 GB, free: 14.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.1826, allocations: 3.434 MB / 0.5666 GB, free: 11.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/8.875, allocations: 6.75 kB / 0.5666 GB, free: 11.34 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.00592352199601]