Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009765/0.0009765, 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.0009743/0.0009743, 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.9297/0.9297, 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.2629/0.2629, allocations: 34.24 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.197e-05, allocations: 4.672 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.1934/0.1934, allocations: 1.658 MB / 443.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.1942, allocations: 0.5658 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.1943, allocations: 6.406 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1947, allocations: 455.5 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.195, allocations: 295.6 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1952, allocations: 178 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1954, allocations: 179.9 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.1955, allocations: 19.27 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.1956, allocations: 123.5 kB / 445.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1957, allocations: 245.5 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1957, allocations: 3 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.1958, allocations: 56.88 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1959, allocations: 86.08 kB / 446 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1959, allocations: 39.56 kB / 446.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1961, allocations: 259 kB / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1961, allocations: 0 / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1961, allocations: 0 / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1961, allocations: 2.969 kB / 446.3 MB, free: 43 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.0004157/0.1965, allocations: 0.5991 MB / 446.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1966, allocations: 10.59 kB / 446.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.98e-05/0.1966, allocations: 31.25 kB / 447 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1966, allocations: 44.12 kB / 447 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1968, allocations: 254.6 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1968, allocations: 8.125 kB / 447.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1968, allocations: 7.719 kB / 447.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1969, allocations: 68.02 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1969, allocations: 192 / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1969, allocations: 3.125 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1969, allocations: 7 kB / 447.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.197, allocations: 29.02 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1973, allocations: 374.4 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.1974, allocations: 43.78 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1974, allocations: 19.77 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1974, allocations: 2.594 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1974, allocations: 34.56 kB / 447.8 MB, free: 41.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1974, allocations: 0 / 447.8 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.198, allocations: 344.3 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.198, allocations: 51.41 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.1985, allocations: 0.8826 MB / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1985, allocations: 25.7 kB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.1986, allocations: 228.4 kB / 449.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1987, allocations: 25.88 kB / 449.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1987, allocations: 19.34 kB / 449.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.1987, allocations: 367.8 kB / 449.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.1988, allocations: 31.59 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.1988, allocations: 31.75 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.1989, allocations: 78.22 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1989, allocations: 0 / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.1991, allocations: 148.6 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1991, allocations: 5.656 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1991, allocations: 0 / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1991, allocations: 6.844 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.1992, allocations: 20.7 kB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1992, allocations: 0 / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.1992, allocations: 6.875 kB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1992, allocations: 6.812 kB / 450.1 MB, free: 40.82 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 0.0001171/0.1993, allocations: 217.6 kB / 450.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1994, allocations: 47.81 kB / 450.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.1996, allocations: 183.1 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1996, allocations: 0 / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1996, allocations: 0 / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1996, allocations: 0 / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.1999, allocations: 0.4941 MB / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1999, allocations: 0 / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.2, allocations: 18.19 kB / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2, allocations: 0 / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2, allocations: 6.875 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2, allocations: 3.938 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2, allocations: 0 / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.2001, allocations: 243.7 kB / 451.3 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.2002, allocations: 50.56 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2002, allocations: 0 / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.2002, allocations: 12.58 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.2002, allocations: 6.844 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.2003, allocations: 9.203 kB / 451.4 MB, free: 39.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003343/0.2006, allocations: 0.6559 MB / 452 MB, free: 39.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2006, allocations: 0 / 452 MB, free: 39.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.2008, allocations: 34 kB / 452 MB, free: 39.73 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.0009953/0.2018, allocations: 1.156 MB / 453.2 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.2019, allocations: 72.92 kB / 453.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2019, allocations: 4 kB / 453.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.202, allocations: 43.92 kB / 453.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2023, allocations: 31.19 kB / 453.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.2043, allocations: 3.398 MB / 456.7 MB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2044, allocations: 231.3 kB / 457 MB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.2045, allocations: 27.75 kB / 457 MB, free: 36.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.2046, allocations: 116.2 kB / 457.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2046, allocations: 0 / 457.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2227, allocations: 7.139 MB / 464.3 MB, free: 35.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.91, allocations: 3.156 kB / 464.3 MB, free: 35.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 9.015690550208092]