Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0009059/0.0009059, 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.0008283/0.0008283, 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.9027/0.9027, allocations: 177 MB / 204.1 MB, free: 5.75 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.2495/0.2495, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.631e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.2104/0.2104, allocations: 1.96 MB / 444.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2115, allocations: 0.9965 MB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.2116, allocations: 3.938 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.212, allocations: 257.8 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.2123, allocations: 271.6 kB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.2129, allocations: 491.4 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2131, allocations: 337.3 kB / 446.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2133, allocations: 43.83 kB / 446.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2134, allocations: 183.2 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2136, allocations: 194.3 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2136, allocations: 12.78 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.2137, allocations: 83.08 kB / 447 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.2138, allocations: 95.91 kB / 447.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.2138, allocations: 65.83 kB / 447.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2141, allocations: 322.7 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2141, allocations: 0 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2141, allocations: 0 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2141, allocations: 0 / 447.4 MB, free: 42.4 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004903/0.2146, allocations: 0.6228 MB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2147, allocations: 14.53 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.2147, allocations: 37.34 kB / 448.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.2147, allocations: 45.47 kB / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.2149, allocations: 278.5 kB / 448.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2149, allocations: 13.06 kB / 448.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.215, allocations: 10.5 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2151, allocations: 104.4 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2151, allocations: 10.89 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2151, allocations: 6.781 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2151, allocations: 6.281 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.2152, allocations: 76.06 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.2156, allocations: 453.9 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2158, allocations: 83.94 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.2158, allocations: 32.64 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.2158, allocations: 6.812 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2159, allocations: 33.44 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2159, allocations: 0 / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006756/0.2165, allocations: 412.4 kB / 449.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2166, allocations: 55.16 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.217, allocations: 0.5856 MB / 450.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.217, allocations: 28.58 kB / 450.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2171, allocations: 215.4 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2172, allocations: 60.2 kB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2172, allocations: 34.56 kB / 450.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.2173, allocations: 356.3 kB / 451 MB, free: 39.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.2174, allocations: 46.64 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.2174, allocations: 59.02 kB / 451.1 MB, free: 39.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2176, allocations: 121.6 kB / 451.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2176, allocations: 0 / 451.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002006/0.2178, allocations: 203.3 kB / 451.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2178, allocations: 9.625 kB / 451.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2178, allocations: 0 / 451.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2178, allocations: 0 / 451.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2179, allocations: 42.5 kB / 451.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2179, allocations: 6.781 kB / 451.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.218, allocations: 5.594 kB / 451.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.218, allocations: 9.969 kB / 451.5 MB, free: 39.77 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 (17): * Single equations (assignments): 17 * 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 9.235e-05/0.2181, allocations: 172.3 kB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2181, allocations: 43.91 kB / 451.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.2183, allocations: 251.2 kB / 451.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2184, allocations: 2.969 kB / 451.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2184, allocations: 4 kB / 451.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2184, allocations: 0 / 451.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.2188, allocations: 0.5838 MB / 452.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2188, allocations: 0 / 452.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.2188, allocations: 37 kB / 452.5 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2188, allocations: 2.969 kB / 452.6 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2188, allocations: 3.234 kB / 452.6 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2188, allocations: 2.938 kB / 452.6 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2188, allocations: 4 kB / 452.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.219, allocations: 308.7 kB / 452.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.2191, allocations: 45.52 kB / 452.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.2191, allocations: 2.688 kB / 452.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.2191, allocations: 9.594 kB / 452.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.2192, allocations: 12.31 kB / 452.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.2192, allocations: 6.75 kB / 452.9 MB, free: 38.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.2194, allocations: 444.4 kB / 453.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2194, allocations: 0 / 453.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.2197, allocations: 52.94 kB / 453.4 MB, free: 38.67 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 (17): * Single equations (assignments): 17 * 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.00152/0.2212, allocations: 1.491 MB / 454.9 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.2214, allocations: 129.3 kB / 455 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2214, allocations: 0 / 455 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.2214, allocations: 73.78 kB / 455.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2218, allocations: 74.67 kB / 455.2 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2239, allocations: 3.199 MB / 458.4 MB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.224, allocations: 213.2 kB / 458.6 MB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.2241, allocations: 52.19 kB / 458.6 MB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.2242, allocations: 136.5 kB / 458.8 MB, free: 35.6 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2242, allocations: 0 / 458.8 MB, free: 35.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.244, allocations: 8.468 MB / 467.2 MB, free: 33.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.938, allocations: 0 / 467.2 MB, free: 33.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.972647281363606]