Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0008043/0.0008043, 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.0008501/0.0008501, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9228/0.9228, allocations: 177 MB / 204.1 MB, free: 5.762 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.2621/0.2621, allocations: 34.23 MB / 294.8 MB, free: 0.7227 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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.641e-05, allocations: 6.219 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.1894/0.1894, allocations: 1.603 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1908, allocations: 1.253 MB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1908, allocations: 3.25 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.191, allocations: 25.8 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1913, allocations: 95.95 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1915, allocations: 114.1 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1916, allocations: 77.7 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1917, allocations: 16.25 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.1918, allocations: 41.14 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.1918, allocations: 33.75 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1919, allocations: 2.875 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.192, allocations: 92.64 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.192, allocations: 23.81 kB / 445.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.192, allocations: 16.44 kB / 445.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1922, allocations: 166.5 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1922, allocations: 0 / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1922, allocations: 1.812 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1922, allocations: 0 / 445.7 MB, free: 42.95 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.0003732/0.1926, allocations: 336 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1927, allocations: 8.75 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.1927, allocations: 37.05 kB / 446.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1927, allocations: 16.31 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1928, allocations: 139.1 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1928, allocations: 384 / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1929, allocations: 9.906 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.193, allocations: 100 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.193, allocations: 192 / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.193, allocations: 12.33 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.193, allocations: 4.125 kB / 446.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.585e-05/0.1931, allocations: 31.16 kB / 446.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.1934, allocations: 278.8 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.1934, allocations: 59.16 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.1935, allocations: 20.84 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1935, allocations: 2.406 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1935, allocations: 37.19 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1935, allocations: 0 / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004334/0.1939, allocations: 197.4 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.194, allocations: 83.77 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.1941, allocations: 150.7 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.1941, allocations: 25.7 kB / 447.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.1941, allocations: 99.5 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1941, allocations: 32.45 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1942, allocations: 22.14 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.1942, allocations: 325.2 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.1942, allocations: 31.12 kB / 447.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.1943, allocations: 69.39 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.586e-05/0.1944, allocations: 75.27 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1944, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000125/0.1945, allocations: 107.6 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1945, allocations: 12.56 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1945, allocations: 3.938 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1945, allocations: 2.969 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.1946, allocations: 15.06 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1946, allocations: 2.969 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.1946, allocations: 2.781 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1947, allocations: 4.469 kB / 448 MB, free: 41.06 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.996e-05/0.1947, allocations: 126.5 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1947, allocations: 14.64 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1949, allocations: 130.5 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1949, allocations: 0 / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1949, allocations: 0 / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1949, allocations: 2.75 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1952, allocations: 369 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1952, allocations: 2.688 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1952, allocations: 24.7 kB / 448.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1952, allocations: 0 / 448.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1953, allocations: 0 / 448.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1953, allocations: 2.812 kB / 448.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1953, allocations: 3.938 kB / 448.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1954, allocations: 200 kB / 448.9 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.1954, allocations: 14.17 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1954, allocations: 2.875 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.1954, allocations: 3 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1955, allocations: 12.5 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1955, allocations: 11 kB / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.1955, allocations: 117 kB / 449 MB, free: 40.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1955, allocations: 0 / 449 MB, free: 40.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.1957, allocations: 40.91 kB / 449.1 MB, free: 40.27 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 (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.001057/0.1968, allocations: 1.171 MB / 450.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1969, allocations: 71.44 kB / 450.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1969, allocations: 0 / 450.3 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.197, allocations: 44.77 kB / 450.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1973, allocations: 22.77 kB / 450.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.1983, allocations: 1.556 MB / 451.9 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.1983, allocations: 89.05 kB / 452 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.1984, allocations: 19.73 kB / 452.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.1984, allocations: 35.66 kB / 452.1 MB, free: 38.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1984, allocations: 0 / 452.1 MB, free: 38.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.2177, allocations: 4.205 MB / 456.3 MB, free: 36.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.846, allocations: 8.703 kB / 456.3 MB, free: 36.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.890296439640224]