Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001676/0.001676, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002066/0.002066, allocations: 219.2 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2536/0.2536, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002178/0.002178, allocations: 75.88 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1382, allocations: 61.05 MB / 0.5162 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.00379/0.142, allocations: 1.622 MB / 0.5177 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.1427, allocations: 343.5 kB / 0.5181 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.1428, allocations: 4 kB / 0.5181 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.1435, allocations: 447.2 kB / 0.5185 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1439, allocations: 251.5 kB / 0.5187 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1443, allocations: 115.7 kB / 0.5189 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1446, allocations: 159.6 kB / 0.519 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1447, allocations: 12.19 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1448, allocations: 111.8 kB / 0.5191 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1452, allocations: 243.5 kB / 0.5194 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1452, allocations: 0 / 0.5194 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.1453, allocations: 28 kB / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1454, allocations: 91.61 kB / 0.5195 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1455, allocations: 103 kB / 0.5196 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.146, allocations: 258.6 kB / 0.5198 GB, free: 3.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.146, allocations: 4 kB / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.146, allocations: 0 / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.146, allocations: 4 kB / 0.5198 GB, free: 3.562 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009304/0.1469, allocations: 0.5699 MB / 0.5204 GB, free: 2.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.147, allocations: 8.031 kB / 0.5204 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.147, allocations: 38.75 kB / 0.5204 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.1471, allocations: 40.66 kB / 0.5205 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1474, allocations: 246.7 kB / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1474, allocations: 384 / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1475, allocations: 12.11 kB / 0.5207 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1477, allocations: 65.59 kB / 0.5208 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1477, allocations: 0 / 0.5208 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1477, allocations: 0 / 0.5208 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1477, allocations: 0 / 0.5208 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.1478, allocations: 23.98 kB / 0.5208 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.1484, allocations: 359.7 kB / 0.5211 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1486, allocations: 42.56 kB / 0.5212 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.1487, allocations: 16.94 kB / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1487, allocations: 0 / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1488, allocations: 34.56 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1488, allocations: 0 / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006645/0.1494, allocations: 236.6 kB / 0.5215 GB, free: 1.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1495, allocations: 51.41 kB / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.1504, allocations: 0.8691 MB / 0.5224 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1504, allocations: 25.7 kB / 0.5224 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1506, allocations: 216.1 kB / 0.5226 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1507, allocations: 27.77 kB / 0.5226 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1507, allocations: 17.72 kB / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002574/0.151, allocations: 358.8 kB / 0.523 GB, free: 152 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.151, allocations: 20.05 kB / 0.523 GB, free: 132 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.1511, allocations: 19.98 kB / 0.523 GB, free: 112 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1512, allocations: 44.83 kB / 0.5231 GB, free: 64 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1512, allocations: 0 / 0.5231 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002381/0.1515, allocations: 117.6 kB / 0.5232 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1515, allocations: 8 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1515, allocations: 0 / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1515, allocations: 3.984 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.1516, allocations: 15.94 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1516, allocations: 3.75 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.1516, allocations: 11.92 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1516, allocations: 0 / 0.5232 GB, free: 15.9 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 (5): * Single equations (assignments): 5 * 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.0002119/0.1518, allocations: 209.8 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.1519, allocations: 51.67 kB / 0.5235 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1522, allocations: 133.1 kB / 0.5236 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1522, allocations: 0 / 0.5236 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1522, allocations: 11.88 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1522, allocations: 0 / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.1528, allocations: 433.8 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1528, allocations: 4.062 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.1529, allocations: 15.98 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1529, allocations: 3.938 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1529, allocations: 0 / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1529, allocations: 4 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1529, allocations: 0 / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.1532, allocations: 215.2 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.1533, allocations: 43.66 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1533, allocations: 0 / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.1534, allocations: 7.984 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1534, allocations: 4 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1534, allocations: 288 / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007576/0.1542, allocations: 0.6511 MB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1544, allocations: 24 kB / 0.5249 GB, free: 14.03 MB / 414.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 (5): * Single equations (assignments): 5 * 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.002239/0.1567, allocations: 1.063 MB / 0.526 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1569, allocations: 43.95 kB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1569, allocations: 4 kB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.157, allocations: 23.98 kB / 0.5261 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1574, allocations: 25.97 kB / 0.5261 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.1618, allocations: 3.195 MB / 0.5292 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.1624, allocations: 0.8221 MB / 0.53 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1624, allocations: 12 kB / 0.53 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1626, allocations: 99.39 kB / 0.5301 GB, free: 8.641 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1626, allocations: 0 / 0.5301 GB, free: 8.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.1982, allocations: 6.149 MB / 0.5361 GB, free: 2.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.63, allocations: 11.92 kB / 0.5361 GB, free: 2.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 14.75646658311598]