Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001163/0.001163, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009783/0.0009783, allocations: 160.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.9357/0.9357, 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.2586/0.2586, allocations: 34.24 MB / 294.8 MB, free: 0.7148 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",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.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.433e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.1924/0.1924, allocations: 1.589 MB / 443.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.1933, allocations: 0.5123 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1933, allocations: 0 / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1936, allocations: 28.86 kB / 444.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1938, allocations: 86.86 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.194, allocations: 92.5 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1941, allocations: 66.05 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.1942, allocations: 9.234 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.1943, allocations: 34.19 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.1943, allocations: 20.86 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1943, allocations: 2.844 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.1944, allocations: 35.47 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1945, allocations: 13.95 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1945, allocations: 15 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1946, allocations: 76.05 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1946, allocations: 0 / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1946, allocations: 2.812 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1946, allocations: 0 / 444.7 MB, free: 43.18 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.000316/0.1949, allocations: 310.6 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.195, allocations: 8.688 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.098e-05/0.195, allocations: 36.56 kB / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.195, allocations: 15.05 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1951, allocations: 129.4 kB / 445.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1951, allocations: 384 / 445.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1951, allocations: 7.219 kB / 445.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.1952, allocations: 52.11 kB / 445.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1952, allocations: 192 / 445.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1952, allocations: 384 / 445.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1952, allocations: 7.781 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.1953, allocations: 24.55 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.1955, allocations: 236.7 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1957, allocations: 48.89 kB / 445.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.1957, allocations: 17.81 kB / 445.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1957, allocations: 3.938 kB / 445.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.1957, allocations: 33.5 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1957, allocations: 0.5312 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000335/0.1961, allocations: 142.1 kB / 445.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.1961, allocations: 54.34 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.1962, allocations: 152 kB / 446 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.1962, allocations: 25.7 kB / 446 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.1962, allocations: 94.27 kB / 446.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1962, allocations: 20.53 kB / 446.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.1962, allocations: 22.69 kB / 446.2 MB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.699e-05/0.1962, allocations: 324.9 kB / 446.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.1963, allocations: 16.09 kB / 446.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1963, allocations: 17.16 kB / 446.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.1964, allocations: 47.73 kB / 446.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1964, allocations: 0 / 446.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.435e-05/0.1965, allocations: 88.55 kB / 446.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1965, allocations: 5.875 kB / 446.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1965, allocations: 0.8438 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1965, allocations: 6.234 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-05/0.1965, allocations: 8.469 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1965, allocations: 1.875 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.1966, allocations: 5.922 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1966, allocations: 5.469 kB / 446.7 MB, free: 41.63 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 3.867e-05/0.1966, allocations: 119 kB / 446.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1966, allocations: 17.67 kB / 446.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1967, allocations: 92.75 kB / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1967, allocations: 1.5 kB / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1967, allocations: 0 / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1967, allocations: 0 / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1969, allocations: 313.2 kB / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.1969, allocations: 0 / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.197, allocations: 11.95 kB / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.197, allocations: 6.781 kB / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.197, allocations: 0 / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.197, allocations: 0 / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.197, allocations: 0 / 447.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.1971, allocations: 188.4 kB / 447.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.1971, allocations: 3.953 kB / 447.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1971, allocations: 2.875 kB / 447.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.1971, allocations: 6.719 kB / 447.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1971, allocations: 7.172 kB / 447.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1971, allocations: 6.875 kB / 447.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.1972, allocations: 121.5 kB / 447.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1972, allocations: 0 / 447.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.1973, allocations: 19.95 kB / 447.6 MB, free: 40.97 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.0007316/0.1981, allocations: 1.015 MB / 448.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1982, allocations: 51.55 kB / 448.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.1982, allocations: 4 kB / 448.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.1982, allocations: 23.08 kB / 448.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1984, allocations: 14.72 kB / 448.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.1992, allocations: 1.456 MB / 450.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.1992, allocations: 81.23 kB / 450.2 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.1993, allocations: 5.828 kB / 450.2 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1993, allocations: 26.31 kB / 450.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1993, allocations: 0 / 450.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.2134, allocations: 3.256 MB / 453.5 MB, free: 37.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/6.784, allocations: 7.672 kB / 453.5 MB, free: 37.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.843517306260765]