Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001289/0.001289, allocations: 112.2 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.001356/0.001356, 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2854/0.2854, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002021/0.002021, allocations: 64.19 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 65.43 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.005094/0.1686, allocations: 1.622 MB / 0.5541 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1699, allocations: 0.5416 MB / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.1699, allocations: 0 / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.1703, allocations: 79.7 kB / 0.5547 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.1707, allocations: 103.6 kB / 0.5548 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.171, allocations: 91.7 kB / 0.5548 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.1712, allocations: 87.73 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1713, allocations: 11.94 kB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.1714, allocations: 39.89 kB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1715, allocations: 67.73 kB / 0.555 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1715, allocations: 4 kB / 0.555 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1716, allocations: 47.92 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.1717, allocations: 15.94 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.1717, allocations: 35.73 kB / 0.5551 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1719, allocations: 103.6 kB / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1719, allocations: 0 / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.172, allocations: 0 / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.172, allocations: 0 / 0.5552 GB, free: 7.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006395/0.1726, allocations: 422.7 kB / 0.5556 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1726, allocations: 12.03 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.1727, allocations: 4.125 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1727, allocations: 30.75 kB / 0.5557 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1727, allocations: 20.84 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.173, allocations: 211.2 kB / 0.5559 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.173, allocations: 384 / 0.5559 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.173, allocations: 12.12 kB / 0.5559 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1732, allocations: 49.67 kB / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1732, allocations: 0 / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1732, allocations: 4 kB / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1732, allocations: 0 / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1733, allocations: 31.91 kB / 0.556 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.1738, allocations: 296.8 kB / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1739, allocations: 38.56 kB / 0.5563 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1739, allocations: 12.95 kB / 0.5563 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1739, allocations: 3.984 kB / 0.5563 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.174, allocations: 38.5 kB / 0.5564 GB, free: 5.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.174, allocations: 4 kB / 0.5564 GB, free: 5.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009661/0.1749, allocations: 225.2 kB / 0.5566 GB, free: 5.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.175, allocations: 55.34 kB / 0.5566 GB, free: 5.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1752, allocations: 214.4 kB / 0.5568 GB, free: 5.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1753, allocations: 33.7 kB / 0.5569 GB, free: 5.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.1753, allocations: 104.1 kB / 0.557 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1754, allocations: 35.67 kB / 0.557 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1754, allocations: 17.72 kB / 0.557 GB, free: 5.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1756, allocations: 326.8 kB / 0.5573 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.1757, allocations: 24.06 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.1758, allocations: 27.95 kB / 0.5574 GB, free: 4.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1759, allocations: 64.84 kB / 0.5575 GB, free: 4.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1759, allocations: 7.922 kB / 0.5575 GB, free: 4.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.1762, allocations: 97.56 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1762, allocations: 4 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1762, allocations: 0 / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1762, allocations: 0 / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1763, allocations: 19.98 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1763, allocations: 7.938 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1764, allocations: 11.98 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1764, allocations: 0 / 0.5576 GB, free: 4.574 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.0001144/0.1765, allocations: 124 kB / 0.5577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1765, allocations: 15.84 kB / 0.5577 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.1769, allocations: 115.4 kB / 0.5578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1769, allocations: 4 kB / 0.5578 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1769, allocations: 7.938 kB / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1769, allocations: 4.406 kB / 0.5579 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.1775, allocations: 407.3 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1775, allocations: 7.938 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.1776, allocations: 15.98 kB / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1776, allocations: 4 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1776, allocations: 4 kB / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1776, allocations: 7.969 kB / 0.5583 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1776, allocations: 7.984 kB / 0.5583 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1779, allocations: 200.3 kB / 0.5585 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.178, allocations: 88.95 kB / 0.5586 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.178, allocations: 4 kB / 0.5586 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.1781, allocations: 12 kB / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1781, allocations: 3.984 kB / 0.5586 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1781, allocations: 4 kB / 0.5586 GB, free: 3.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1783, allocations: 164.2 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1783, allocations: 0 / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1785, allocations: 23.92 kB / 0.5588 GB, free: 3.258 MB / 414.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.002361/0.1809, allocations: 1.097 MB / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1811, allocations: 63.91 kB / 0.5599 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1811, allocations: 0 / 0.5599 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.1812, allocations: 31.97 kB / 0.5599 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1817, allocations: 20.5 kB / 0.56 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1839, allocations: 1.683 MB / 0.5616 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1843, allocations: 0.7041 MB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1843, allocations: 16.64 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.1844, allocations: 31.44 kB / 0.5623 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1844, allocations: 3.938 kB / 0.5623 GB, free: 15.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.2036, allocations: 3.164 MB / 0.5654 GB, free: 12.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.731, allocations: 19.36 kB / 0.5654 GB, free: 12.55 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.14425884000957]