Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008033/0.0008033, 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.0008187/0.0008187, 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.9009/0.9009, allocations: 177 MB / 204.1 MB, free: 5.719 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.2476/0.2476, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.759e-05, allocations: 5.094 kB / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.1719/0.1719, allocations: 1.602 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.1727, allocations: 0.5264 MB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.1728, allocations: 0 / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1731, allocations: 97.95 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1733, allocations: 122.1 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1735, allocations: 93.11 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1737, allocations: 85.64 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1738, allocations: 12.2 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.1738, allocations: 49.62 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.1739, allocations: 51.45 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1739, allocations: 2.875 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.174, allocations: 51.97 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.1741, allocations: 22.55 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1741, allocations: 15.92 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1742, allocations: 112.3 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1742, allocations: 2.656 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1742, allocations: 0.5625 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1742, allocations: 0 / 445 MB, free: 43.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003105/0.1745, allocations: 343.1 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1746, allocations: 8.875 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.989e-05/0.1746, allocations: 33.28 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.1746, allocations: 21.08 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1747, allocations: 146.6 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1747, allocations: 3.422 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1747, allocations: 6.312 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.1748, allocations: 53.8 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1748, allocations: 192 / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1749, allocations: 4.312 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1749, allocations: 6.75 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.1749, allocations: 24.56 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.1751, allocations: 262.8 kB / 445.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.1752, allocations: 46.42 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.1752, allocations: 17.7 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1752, allocations: 3.062 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.1753, allocations: 30.56 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1753, allocations: 0 / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.1758, allocations: 234.4 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1758, allocations: 55.34 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1759, allocations: 235.8 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.1759, allocations: 25.7 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.176, allocations: 116.1 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.176, allocations: 28.94 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.176, allocations: 22.81 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.048e-05/0.176, allocations: 327.8 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.1761, allocations: 28.59 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.1761, allocations: 23.08 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.1762, allocations: 61.56 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1762, allocations: 0 / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001021/0.1763, allocations: 99.41 kB / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1763, allocations: 9.219 kB / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1763, allocations: 3.234 kB / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1763, allocations: 2.969 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.1764, allocations: 22.61 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1764, allocations: 6.844 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.1764, allocations: 6.766 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1764, allocations: 4.469 kB / 447.3 MB, free: 41.54 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 (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 4.977e-05/0.1765, allocations: 130.4 kB / 447.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1765, allocations: 12.41 kB / 447.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.1766, allocations: 120.1 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1766, allocations: 2.625 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1766, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1766, allocations: 7.328 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1769, allocations: 375.9 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1769, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1769, allocations: 20.16 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1769, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1769, allocations: 3.062 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1769, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1769, allocations: 3.938 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.177, allocations: 216.6 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.1771, allocations: 13.2 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1771, allocations: 0 / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.1771, allocations: 2.844 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1771, allocations: 17.14 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1771, allocations: 5.328 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.1772, allocations: 175.5 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1772, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.1774, allocations: 17.84 kB / 448.4 MB, free: 40.86 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 (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.0008194/0.1782, allocations: 1.11 MB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1783, allocations: 65.72 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1783, allocations: 0 / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.1783, allocations: 35.19 kB / 449.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1786, allocations: 27.98 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.1795, allocations: 1.709 MB / 451.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.751e-05/0.1796, allocations: 98.75 kB / 451.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.1796, allocations: 17.98 kB / 451.4 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1796, allocations: 33.39 kB / 451.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1796, allocations: 2.875 kB / 451.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1933, allocations: 3.902 MB / 455.4 MB, free: 37.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.788, allocations: 9.688 kB / 455.4 MB, free: 37.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.769442938268185]