Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0008787/0.0008787, 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.0009725/0.0009725, 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.9407/0.9407, allocations: 177 MB / 204.1 MB, free: 5.738 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.2654/0.2654, allocations: 34.23 MB / 294.8 MB, free: 0.6758 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.53e-05, allocations: 10.16 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.2092/0.2092, allocations: 1.577 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2106, allocations: 1.237 MB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.2106, allocations: 0.8438 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.2109, allocations: 29.06 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.2111, allocations: 90.28 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.2113, allocations: 96.78 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2115, allocations: 64.47 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.2115, allocations: 6.797 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.2116, allocations: 40.48 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.2117, allocations: 23.14 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2117, allocations: 4.906 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2118, allocations: 94.5 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.2119, allocations: 17.02 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.2119, allocations: 15.95 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.2121, allocations: 144.3 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2121, allocations: 0 / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2121, allocations: 3.625 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2121, allocations: 0 / 445.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003717/0.2125, allocations: 331.8 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2125, allocations: 8.156 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.2125, allocations: 33.38 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2126, allocations: 7.453 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2127, allocations: 146 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.2127, allocations: 384 / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2127, allocations: 2.844 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2128, allocations: 93.45 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2128, allocations: 192 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2129, allocations: 384 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2129, allocations: 4.125 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.2129, allocations: 27.69 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.2132, allocations: 238.4 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.2133, allocations: 38.59 kB / 446.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.2134, allocations: 18.31 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2134, allocations: 9.625 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.2134, allocations: 31.06 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2134, allocations: 2.562 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004344/0.2138, allocations: 142.5 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2139, allocations: 77.11 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.214, allocations: 143.8 kB / 446.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.214, allocations: 32.55 kB / 447 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.214, allocations: 91.14 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.214, allocations: 30.08 kB / 447.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.2141, allocations: 16.75 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.2141, allocations: 321.2 kB / 447.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.2141, allocations: 13.88 kB / 447.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.2142, allocations: 59.36 kB / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.2142, allocations: 48.11 kB / 447.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.2142, allocations: 8.438 kB / 447.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.988e-05/0.2143, allocations: 83.19 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2144, allocations: 5.406 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2144, allocations: 1.875 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2144, allocations: 2.906 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.2144, allocations: 15.34 kB / 447.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2144, allocations: 0.8438 kB / 447.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.2145, allocations: 9.219 kB / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2145, allocations: 0 / 447.7 MB, free: 41.19 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.569e-05/0.2145, allocations: 126.3 kB / 447.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.2145, allocations: 6.547 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.2147, allocations: 91.33 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2147, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2147, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2147, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.2149, allocations: 321.5 kB / 448.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2149, allocations: 0 / 448.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.2149, allocations: 15.5 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2149, allocations: 2.531 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2149, allocations: 3.375 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2149, allocations: 0 / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2149, allocations: 0 / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/0.215, allocations: 184.5 kB / 448.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.215, allocations: 6.516 kB / 448.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2151, allocations: 3.328 kB / 448.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.2151, allocations: 2.594 kB / 448.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.2151, allocations: 14.05 kB / 448.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.2151, allocations: 2.531 kB / 448.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.2152, allocations: 113.3 kB / 448.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2152, allocations: 0 / 448.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.2154, allocations: 45.08 kB / 448.6 MB, free: 40.45 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.0009312/0.2163, allocations: 1.124 MB / 449.7 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2164, allocations: 46.58 kB / 449.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2164, allocations: 4 kB / 449.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.2165, allocations: 21.97 kB / 449.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2167, allocations: 25.28 kB / 449.8 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.2176, allocations: 1.434 MB / 451.2 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.2176, allocations: 87.09 kB / 451.3 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.2177, allocations: 18.16 kB / 451.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.2177, allocations: 25.42 kB / 451.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2177, allocations: 0 / 451.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2351, allocations: 3.983 MB / 455.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.826, allocations: 4.688 kB / 455.3 MB, free: 36.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.933850995264947]