Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.0008689, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009004/0.0009004, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8511/0.8511, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.914e-05, allocations: 2.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.1686/0.1686, allocations: 1.634 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.1694, allocations: 0.5471 MB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.1694, allocations: 0 / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1697, allocations: 95.38 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1699, allocations: 112.4 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1701, allocations: 123.6 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1703, allocations: 98.3 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1704, allocations: 22.41 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.1704, allocations: 64.39 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.1705, allocations: 64.3 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1705, allocations: 4.938 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.1706, allocations: 46.38 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1706, allocations: 28.84 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1707, allocations: 25.39 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1708, allocations: 125.2 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1708, allocations: 6.625 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1708, allocations: 0 / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1708, allocations: 0 / 445.2 MB, free: 43.13 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003388/0.1712, allocations: 362 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1712, allocations: 10.69 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.1712, allocations: 34.56 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1713, allocations: 17.22 kB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1714, allocations: 161.4 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1714, allocations: 2.969 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1714, allocations: 9.625 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1715, allocations: 69.61 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1715, allocations: 192 / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1715, allocations: 3 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1715, allocations: 4.125 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.1716, allocations: 53.34 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1719, allocations: 306.4 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.172, allocations: 69.47 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.172, allocations: 24.3 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.172, allocations: 2.844 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.172, allocations: 30.56 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.172, allocations: 2.875 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006228/0.1727, allocations: 337.2 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.1727, allocations: 54 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1728, allocations: 238.5 kB / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1728, allocations: 28.2 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1728, allocations: 117.2 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1729, allocations: 41.97 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1729, allocations: 31.12 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.005e-05/0.1729, allocations: 336.3 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.173, allocations: 47.84 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.173, allocations: 43.05 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1731, allocations: 112.6 kB / 447.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1731, allocations: 0 / 447.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001383/0.1733, allocations: 149.8 kB / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1733, allocations: 9.281 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1733, allocations: 0 / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1733, allocations: 0 / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.1734, allocations: 33.94 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1734, allocations: 0 / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.1734, allocations: 6.969 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1734, allocations: 10.23 kB / 447.9 MB, free: 41.47 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 (13): * Single equations (assignments): 13 * 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.262e-05/0.1735, allocations: 133.2 kB / 448 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.1735, allocations: 14.12 kB / 448 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.1737, allocations: 199.7 kB / 448.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1737, allocations: 2.906 kB / 448.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1737, allocations: 0 / 448.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1737, allocations: 5.672 kB / 448.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.174, allocations: 464.2 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.174, allocations: 0 / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1741, allocations: 30.11 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1741, allocations: 7.969 kB / 448.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1741, allocations: 2.594 kB / 448.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1741, allocations: 3.234 kB / 448.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1741, allocations: 3.938 kB / 448.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1742, allocations: 249.9 kB / 449 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.1742, allocations: 14.56 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1743, allocations: 2.938 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.1743, allocations: 9.938 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.1743, allocations: 9.078 kB / 449 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1743, allocations: 13.45 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.1744, allocations: 184.6 kB / 449.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1744, allocations: 0 / 449.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.1746, allocations: 24.02 kB / 449.2 MB, free: 40.58 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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.0009708/0.1755, allocations: 1.162 MB / 450.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1757, allocations: 107 kB / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1757, allocations: 0 / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.1758, allocations: 60.62 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1761, allocations: 19.78 kB / 450.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1772, allocations: 1.939 MB / 452.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.1773, allocations: 114.4 kB / 452.6 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1773, allocations: 35.64 kB / 452.6 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.1774, allocations: 45.77 kB / 452.7 MB, free: 38.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1774, allocations: 0 / 452.7 MB, free: 38.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.1941, allocations: 4.305 MB / 457 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.1, allocations: 20.83 kB / 457 MB, free: 36.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.98935225699097]