Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.000972/0.000972, 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.001106/0.001106, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8713/0.8713, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2339/0.2339, allocations: 34.24 MB / 294.9 MB, free: 0.7148 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.608e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.1534/0.1534, allocations: 1.64 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.1542, allocations: 0.7785 MB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.1543, allocations: 0 / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1545, allocations: 30.77 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1547, allocations: 47.45 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.1547, allocations: 0 / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1549, allocations: 41.16 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1549, allocations: 2.875 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.1549, allocations: 12.47 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.155, allocations: 11.73 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.155, allocations: 0 / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.155, allocations: 13.34 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1551, allocations: 15.94 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.1551, allocations: 11.53 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1552, allocations: 70.14 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1552, allocations: 2.875 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1552, allocations: 0 / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1552, allocations: 0 / 444.9 MB, free: 43.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002836/0.1555, allocations: 290 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1556, allocations: 8.688 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.1556, allocations: 44.16 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1556, allocations: 11.14 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.951e-05/0.1557, allocations: 111.9 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1557, allocations: 7.094 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1557, allocations: 3.281 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1558, allocations: 134.1 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1558, allocations: 192 / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.1558, allocations: 384 / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.1559, allocations: 25.83 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.1559, allocations: 49.67 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1562, allocations: 0.8573 MB / 446.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.1563, allocations: 168.1 kB / 446.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.1563, allocations: 80.14 kB / 446.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.1563, allocations: 75.28 kB / 446.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.1563, allocations: 108.8 kB / 446.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1563, allocations: 1.469 kB / 446.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.27e-05/0.1564, allocations: 40.53 kB / 446.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1564, allocations: 129.5 kB / 447 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1565, allocations: 197.4 kB / 447.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-06/0.1565, allocations: 26.45 kB / 447.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.1566, allocations: 152 kB / 447.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.1566, allocations: 6.688 kB / 447.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1566, allocations: 44.69 kB / 447.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.1566, allocations: 320.8 kB / 447.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.1567, allocations: 31.47 kB / 447.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.1567, allocations: 158.4 kB / 447.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.1568, allocations: 207 kB / 448.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1568, allocations: 3.938 kB / 448.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001899/0.157, allocations: 199 kB / 448.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.157, allocations: 12.38 kB / 448.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.157, allocations: 5.812 kB / 448.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.157, allocations: 5.844 kB / 448.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.1571, allocations: 39.2 kB / 448.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1571, allocations: 5.906 kB / 448.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.1572, allocations: 28.25 kB / 448.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1572, allocations: 9.281 kB / 448.4 MB, free: 40.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 5.779e-05/0.1573, allocations: 217.7 kB / 448.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1573, allocations: 111.8 kB / 448.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.1573, allocations: 120.9 kB / 448.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.1573, allocations: 176.3 kB / 449 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.1574, allocations: 190.2 kB / 449.2 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.1574, allocations: 176.3 kB / 449.4 MB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.838e-05/0.1575, allocations: 400.5 kB / 449.8 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.1575, allocations: 101 kB / 449.9 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-06/0.1575, allocations: 103.7 kB / 450 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.1575, allocations: 183.4 kB / 450.1 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1575, allocations: 187.2 kB / 450.3 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.1575, allocations: 181.5 kB / 450.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/0.1575, allocations: 183.3 kB / 450.7 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.537e-05/0.1576, allocations: 315.5 kB / 451 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.1576, allocations: 108.6 kB / 451.1 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1576, allocations: 184.1 kB / 451.3 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.1577, allocations: 114 kB / 451.4 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.1577, allocations: 180.2 kB / 451.6 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1577, allocations: 103.8 kB / 451.7 MB, free: 36.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.1577, allocations: 126.6 kB / 451.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1577, allocations: 0 / 451.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000184/0.1579, allocations: 20.25 kB / 451.8 MB, free: 36.74 MB / 410.7 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 (0): * Single equations (assignments): 0 * 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.0004444/0.1584, allocations: 0.9351 MB / 452.7 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1585, allocations: 69.02 kB / 452.8 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1585, allocations: 0 / 452.8 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1585, allocations: 4 kB / 452.8 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1587, allocations: 464.9 kB / 453.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.1596, allocations: 1.865 MB / 455.1 MB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.1596, allocations: 86.09 kB / 455.2 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.1598, allocations: 50.44 kB / 455.3 MB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1598, allocations: 28.48 kB / 455.3 MB, free: 33.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1598, allocations: 4 kB / 455.3 MB, free: 33.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.1766, allocations: 2.744 MB / 458 MB, free: 32.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.841, allocations: 3.688 kB / 458 MB, free: 32.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.699344405904412]