Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.001181/0.001181, 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.001012/0.001012, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.912/0.912, allocations: 177 MB / 204.1 MB, free: 5.715 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.2677/0.2677, 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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.713e-05, allocations: 6.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.2052/0.2052, allocations: 1.889 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2066, allocations: 0.9524 MB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2068, allocations: 2.969 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.2072, allocations: 259.3 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.2076, allocations: 265.4 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.2084, allocations: 474.9 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.2089, allocations: 314 kB / 446.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2091, allocations: 32.42 kB / 446.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.2094, allocations: 164.2 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.2097, allocations: 188.9 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.2097, allocations: 9.406 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2099, allocations: 55.56 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.21, allocations: 90.81 kB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.21, allocations: 63.19 kB / 446.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.2103, allocations: 280.3 kB / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2103, allocations: 0 / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2103, allocations: 0 / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2103, allocations: 3.234 kB / 447.2 MB, free: 42.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005832/0.2109, allocations: 0.5947 MB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2109, allocations: 8.562 kB / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.211, allocations: 40.91 kB / 447.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.211, allocations: 46.44 kB / 447.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2112, allocations: 268 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2113, allocations: 7.281 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2113, allocations: 6.156 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2114, allocations: 78.25 kB / 448.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2114, allocations: 10.81 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2114, allocations: 3.125 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2115, allocations: 6.609 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.2116, allocations: 51 kB / 448.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.212, allocations: 405.4 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.2121, allocations: 57.39 kB / 448.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.2121, allocations: 23.69 kB / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2121, allocations: 0 / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2122, allocations: 37.59 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2122, allocations: 0 / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002365/0.2124, allocations: 139.9 kB / 448.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2124, allocations: 54.19 kB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.2128, allocations: 0.5843 MB / 449.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.2128, allocations: 25.7 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.2129, allocations: 211.5 kB / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2129, allocations: 21.86 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.213, allocations: 19.25 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.213, allocations: 359.3 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.213, allocations: 22.09 kB / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.2131, allocations: 18.12 kB / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.2131, allocations: 52.94 kB / 450.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2131, allocations: 3.938 kB / 450.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000116/0.2133, allocations: 117.8 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2133, allocations: 5.438 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2133, allocations: 0 / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2133, allocations: 2.812 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.2134, allocations: 15.89 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2134, allocations: 0 / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.2134, allocations: 13.61 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2134, allocations: 2.938 kB / 450.4 MB, free: 40.16 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 (6): * Single equations (assignments): 6 * 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 8.67e-05/0.2135, allocations: 168.4 kB / 450.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2135, allocations: 36.8 kB / 450.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.2137, allocations: 142.1 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2137, allocations: 2.938 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2137, allocations: 0 / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2137, allocations: 4 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2139, allocations: 258.3 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2139, allocations: 3.25 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.2139, allocations: 14.89 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2139, allocations: 0 / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.2139, allocations: 0 / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2139, allocations: 2.938 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2139, allocations: 0 / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.214, allocations: 225 kB / 451.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.2141, allocations: 38.97 kB / 451.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2141, allocations: 11.06 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.2141, allocations: 3.062 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.2142, allocations: 6.172 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2142, allocations: 2.562 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.2145, allocations: 436.9 kB / 451.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2145, allocations: 3.938 kB / 451.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000206/0.2147, allocations: 41.95 kB / 451.8 MB, free: 39.34 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 (6): * Single equations (assignments): 6 * 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.001252/0.2159, allocations: 1.279 MB / 453.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.2161, allocations: 46.14 kB / 453.1 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2161, allocations: 0 / 453.1 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.2161, allocations: 28.61 kB / 453.1 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.2165, allocations: 80.84 kB / 453.2 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.2185, allocations: 2.873 MB / 456.1 MB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2186, allocations: 195 kB / 456.3 MB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.203e-05/0.2187, allocations: 39.48 kB / 456.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2188, allocations: 115.2 kB / 456.4 MB, free: 36.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2188, allocations: 0 / 456.4 MB, free: 36.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2408, allocations: 7.614 MB / 464.1 MB, free: 34.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.147, allocations: 6.328 kB / 464.1 MB, free: 34.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.188145654276013]