Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0007951/0.0007951, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008425/0.0008425, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8767/0.8767, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.29e-05, allocations: 2.281 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.1573/0.1573, allocations: 1.659 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.158, allocations: 0.5446 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.158, allocations: 2.844 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1584, allocations: 461.5 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1587, allocations: 296.8 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1589, allocations: 131.6 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.159, allocations: 181.6 kB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.1591, allocations: 17.19 kB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1592, allocations: 128.7 kB / 445.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1594, allocations: 243.3 kB / 445.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1594, allocations: 2.844 kB / 445.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.1595, allocations: 54.92 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.1595, allocations: 85.73 kB / 446 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.1596, allocations: 44.61 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1598, allocations: 262.2 kB / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1598, allocations: 2.594 kB / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1598, allocations: 0 / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1598, allocations: 0 / 446.3 MB, free: 43 MB / 410.7 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.0004209/0.1602, allocations: 0.5949 MB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1602, allocations: 10.88 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.99e-05/0.1602, allocations: 40.92 kB / 446.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1603, allocations: 44.16 kB / 447 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1604, allocations: 252.5 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1604, allocations: 12.78 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1604, allocations: 3.312 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1605, allocations: 62.19 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1605, allocations: 192 / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1606, allocations: 3.938 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1606, allocations: 2.906 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.1606, allocations: 46.58 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1609, allocations: 368.9 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1611, allocations: 54.58 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1611, allocations: 23.14 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1611, allocations: 3.281 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.396e-06/0.1611, allocations: 34.5 kB / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1611, allocations: 0 / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007281/0.1618, allocations: 477.8 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.1619, allocations: 54.16 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.1623, allocations: 0.8715 MB / 449.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.1623, allocations: 25.7 kB / 449.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.1623, allocations: 216.8 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1624, allocations: 40.69 kB / 449.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.1624, allocations: 29.34 kB / 449.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.1624, allocations: 367.3 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.1625, allocations: 36.36 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1625, allocations: 52.89 kB / 450 MB, free: 40.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1627, allocations: 97.11 kB / 450.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1627, allocations: 6.156 kB / 450.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001544/0.1628, allocations: 175 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1628, allocations: 5.688 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1628, allocations: 0 / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1628, allocations: 0 / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.1629, allocations: 33.56 kB / 450.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1629, allocations: 0 / 450.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.163, allocations: 16.84 kB / 450.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.163, allocations: 2.562 kB / 450.3 MB, free: 40.81 MB / 410.7 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 9.346e-05/0.1631, allocations: 218.2 kB / 450.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1631, allocations: 47.77 kB / 450.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.1633, allocations: 206 kB / 450.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1633, allocations: 0 / 450.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1633, allocations: 0 / 450.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1633, allocations: 6.594 kB / 450.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.1636, allocations: 0.5331 MB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1636, allocations: 3.062 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.1637, allocations: 27.44 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1637, allocations: 3.938 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1637, allocations: 6.141 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1637, allocations: 0 / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1637, allocations: 6.812 kB / 451.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1638, allocations: 289 kB / 451.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.1639, allocations: 43.05 kB / 451.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1639, allocations: 2.906 kB / 451.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.1639, allocations: 12.91 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.164, allocations: 9.281 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.164, allocations: 5.656 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.1643, allocations: 0.6576 MB / 452.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1643, allocations: 0 / 452.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000176/0.1644, allocations: 37.72 kB / 452.4 MB, free: 39.68 MB / 410.7 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.000863/0.1653, allocations: 1.207 MB / 453.6 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1655, allocations: 107.7 kB / 453.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1655, allocations: 2.875 kB / 453.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.1655, allocations: 57.11 kB / 453.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1658, allocations: 32.7 kB / 453.8 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1676, allocations: 3.467 MB / 457.3 MB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1677, allocations: 229.1 kB / 457.5 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.1678, allocations: 14.77 kB / 457.5 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.1679, allocations: 116.1 kB / 457.6 MB, free: 36.74 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1679, allocations: 0 / 457.6 MB, free: 36.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.1849, allocations: 7.235 MB / 464.8 MB, free: 35.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/6.932, allocations: 0 / 464.8 MB, free: 35.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 8.816289689391851]