Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0008766/0.0008766, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0008575/0.0008575, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.9177/0.9177, allocations: 177 MB / 204.1 MB, free: 5.754 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.2545/0.2545, allocations: 34.23 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.64e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.19/0.1901, allocations: 1.585 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.1908, allocations: 0.537 MB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.1909, allocations: 0 / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1911, allocations: 31.31 kB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1914, allocations: 81.42 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1916, allocations: 109.2 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1918, allocations: 73.89 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1919, allocations: 11.56 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.192, allocations: 33.83 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1921, allocations: 19.23 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1921, allocations: 6.125 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.1922, allocations: 31.22 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.1922, allocations: 18.56 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.1923, allocations: 13.56 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1924, allocations: 89.25 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1924, allocations: 0 / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1924, allocations: 0 / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1924, allocations: 0 / 444.8 MB, free: 43.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003938/0.1928, allocations: 323.6 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1929, allocations: 8.812 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.1929, allocations: 37 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1929, allocations: 7.891 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1931, allocations: 138.1 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1931, allocations: 3.688 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1931, allocations: 3.281 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1932, allocations: 51.19 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1932, allocations: 192 / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.1932, allocations: 3.938 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1932, allocations: 0 / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.1933, allocations: 29.88 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.1936, allocations: 245.6 kB / 445.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1938, allocations: 53.38 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1938, allocations: 10.67 kB / 445.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1938, allocations: 10.17 kB / 445.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.1938, allocations: 36.41 kB / 445.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.185e-06/0.1938, allocations: 0 / 445.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004168/0.1943, allocations: 157.1 kB / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.1943, allocations: 58.28 kB / 445.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1944, allocations: 170.7 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.1944, allocations: 31.83 kB / 446.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1944, allocations: 94.7 kB / 446.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.1944, allocations: 17.44 kB / 446.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.1945, allocations: 22.19 kB / 446.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.1945, allocations: 327.7 kB / 446.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.1946, allocations: 18.05 kB / 446.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1946, allocations: 23.47 kB / 446.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.1947, allocations: 54.31 kB / 446.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1947, allocations: 3.188 kB / 446.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.1948, allocations: 87.39 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1948, allocations: 5.344 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1948, allocations: 0 / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1948, allocations: 3.469 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.1949, allocations: 13.3 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1949, allocations: 1.875 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.1949, allocations: 10.55 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1949, allocations: 12.83 kB / 446.8 MB, free: 41.57 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 (5): * Single equations (assignments): 5 * 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.947e-05/0.1949, allocations: 119.5 kB / 446.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.195, allocations: 9.734 kB / 447 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1951, allocations: 97.25 kB / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1951, allocations: 3.938 kB / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1951, allocations: 1.5 kB / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1951, allocations: 0 / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1954, allocations: 325.4 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1954, allocations: 3.141 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1954, allocations: 11.16 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1954, allocations: 3.328 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1954, allocations: 0 / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1954, allocations: 0 / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1954, allocations: 0 / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1955, allocations: 193.2 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.1955, allocations: 10.89 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1956, allocations: 3.188 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.1956, allocations: 3.031 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1956, allocations: 10.03 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1956, allocations: 6.938 kB / 447.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1957, allocations: 140.5 kB / 447.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1957, allocations: 2.719 kB / 447.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.1958, allocations: 15.12 kB / 447.8 MB, free: 40.91 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 (5): * Single equations (assignments): 5 * 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.0008711/0.1967, allocations: 1.041 MB / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1969, allocations: 49 kB / 448.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1969, allocations: 0 / 448.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.1969, allocations: 31.17 kB / 448.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1972, allocations: 18.86 kB / 448.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.1982, allocations: 1.515 MB / 450.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.1982, allocations: 88.66 kB / 450.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.1983, allocations: 12.05 kB / 450.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.1983, allocations: 29.64 kB / 450.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1983, allocations: 0 / 450.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.218, allocations: 3.402 MB / 453.9 MB, free: 37.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.746, allocations: 13.5 kB / 454 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.751738673076034]