Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.0008558/0.0008558, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.0009026/0.0009026, allocations: 156.9 kB / 23.94 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.8981/0.8981, allocations: 177 MB / 204.1 MB, free: 5.73 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.2321/0.2321, allocations: 34.23 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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.141e-05, allocations: 6.219 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.171/0.171, allocations: 1.626 MB / 443.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.1719, allocations: 0.5407 MB / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.172, allocations: 0 / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1722, allocations: 35.19 kB / 444.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1725, allocations: 87.61 kB / 444.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1727, allocations: 98.58 kB / 444.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1729, allocations: 85.97 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.173, allocations: 16.05 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/0.173, allocations: 50.34 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.1731, allocations: 30.84 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1731, allocations: 2.625 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.1732, allocations: 52.75 kB / 444.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.1732, allocations: 18.77 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1733, allocations: 23.97 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1734, allocations: 105.1 kB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1734, allocations: 2.875 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1734, allocations: 0 / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1735, allocations: 0 / 445 MB, free: 43.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003514/0.1738, allocations: 336.1 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1738, allocations: 11.66 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.1739, allocations: 32.84 kB / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1739, allocations: 18.38 kB / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.174, allocations: 138 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.174, allocations: 3.344 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1741, allocations: 11.08 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1742, allocations: 70.2 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1742, allocations: 192 / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1742, allocations: 7.062 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1742, allocations: 7.062 kB / 445.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.605e-05/0.1743, allocations: 33.81 kB / 445.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1746, allocations: 285.5 kB / 445.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.1746, allocations: 63.97 kB / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.1747, allocations: 23.38 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1747, allocations: 7.25 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.1747, allocations: 42.8 kB / 446 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1747, allocations: 0 / 446 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006388/0.1753, allocations: 290.7 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.1754, allocations: 54.64 kB / 446.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.1755, allocations: 165.3 kB / 446.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.1755, allocations: 30.42 kB / 446.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.1755, allocations: 102 kB / 446.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1755, allocations: 43.08 kB / 446.7 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1756, allocations: 30.05 kB / 446.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1756, allocations: 320.3 kB / 447 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1757, allocations: 37.83 kB / 447.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.1757, allocations: 35.06 kB / 447.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1758, allocations: 95.08 kB / 447.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1758, allocations: 0 / 447.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001521/0.176, allocations: 136.5 kB / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.176, allocations: 5.875 kB / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.176, allocations: 0 / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.176, allocations: 0 / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1761, allocations: 29.58 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1761, allocations: 7.875 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.1761, allocations: 12.38 kB / 447.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1761, allocations: 2.656 kB / 447.4 MB, free: 41.45 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.109e-05/0.1762, allocations: 128.9 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.1762, allocations: 13.52 kB / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.1764, allocations: 159.9 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1764, allocations: 5.797 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1764, allocations: 0 / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1764, allocations: 7.172 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.1768, allocations: 423.9 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1768, allocations: 6.562 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1768, allocations: 22.23 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1768, allocations: 2.844 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1768, allocations: 3.422 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1768, allocations: 2.562 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1768, allocations: 0 / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.177, allocations: 241 kB / 448.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.177, allocations: 18.03 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.177, allocations: 2.812 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.177, allocations: 10.48 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.1771, allocations: 8.922 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1771, allocations: 6.844 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.934e-05/0.1771, allocations: 128.1 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1771, allocations: 0 / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.1773, allocations: 28.97 kB / 448.6 MB, free: 40.66 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.0009184/0.1782, allocations: 1.137 MB / 449.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1784, allocations: 103.9 kB / 449.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1784, allocations: 0 / 449.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.322e-05/0.1784, allocations: 49 kB / 449.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1787, allocations: 20.45 kB / 449.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1797, allocations: 1.682 MB / 451.6 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.1798, allocations: 102.1 kB / 451.7 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.536e-05/0.1798, allocations: 21.22 kB / 451.7 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.1799, allocations: 36.33 kB / 451.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1799, allocations: 0 / 451.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1951, allocations: 3.884 MB / 455.6 MB, free: 37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.954, allocations: 7.578 kB / 455.6 MB, free: 37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.924095290713012]