Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001063/0.001063, 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.001728/0.001728, 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.8582/0.8582, 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.2522/0.2522, 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.615e-05, allocations: 8.75 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.1975/0.1975, allocations: 1.817 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1987, allocations: 0.9649 MB / 445 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.1988, allocations: 0 / 445 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.199, allocations: 63.06 kB / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1993, allocations: 125.6 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1996, allocations: 164 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1998, allocations: 202.7 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.1999, allocations: 14.59 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2, allocations: 108.7 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2001, allocations: 89.08 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.2006, allocations: 13.59 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.2008, allocations: 46.06 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2009, allocations: 45.33 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.201, allocations: 46.55 kB / 445.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.2014, allocations: 206 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2014, allocations: 0 / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2014, allocations: 2.594 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2014, allocations: 0 / 446.1 MB, free: 42.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009818/0.2024, allocations: 0.5062 MB / 446.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.2024, allocations: 10.72 kB / 446.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.2025, allocations: 37.09 kB / 446.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.2025, allocations: 27.84 kB / 446.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2028, allocations: 176.8 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2028, allocations: 3.094 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.2028, allocations: 9 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.2033, allocations: 145.2 kB / 447 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2033, allocations: 4.188 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.2033, allocations: 4.125 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2033, allocations: 2.969 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.2038, allocations: 161.4 kB / 447.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2043, allocations: 316 kB / 447.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.2049, allocations: 190.1 kB / 447.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.2052, allocations: 96.88 kB / 447.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.2052, allocations: 3 kB / 447.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/0.2057, allocations: 160.2 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/0.2057, allocations: 4 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.002792/0.2085, allocations: 0.8202 MB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2085, allocations: 57.38 kB / 448.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.2088, allocations: 257.2 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2088, allocations: 32.64 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.2089, allocations: 124.3 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.2089, allocations: 44.8 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.209, allocations: 35.86 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.209, allocations: 332.2 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.2096, allocations: 224.3 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.2101, allocations: 226.6 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.211, allocations: 365 kB / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.211, allocations: 0 / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001148/0.2121, allocations: 0.51 MB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2122, allocations: 62.34 kB / 450.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2122, allocations: 4 kB / 451 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.2122, allocations: 0 / 451 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.2126, allocations: 67.14 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2126, allocations: 2.844 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.2129, allocations: 67.84 kB / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.2129, allocations: 5.906 kB / 451.1 MB, free: 40.23 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001186/0.213, allocations: 140.8 kB / 451.2 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.213, allocations: 23.83 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.2142, allocations: 409.4 kB / 451.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2142, allocations: 2.719 kB / 451.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2142, allocations: 0 / 451.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2142, allocations: 0 / 451.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2155, allocations: 0.6441 MB / 452.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2155, allocations: 0 / 452.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.2158, allocations: 74.19 kB / 452.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2158, allocations: 0 / 452.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2158, allocations: 2.75 kB / 452.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2158, allocations: 0 / 452.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2158, allocations: 6.625 kB / 452.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2171, allocations: 492 kB / 452.9 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.2171, allocations: 18.7 kB / 452.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2171, allocations: 9.891 kB / 452.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2173, allocations: 57.55 kB / 452.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2174, allocations: 54.11 kB / 453 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2174, allocations: 10.06 kB / 453 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2176, allocations: 188.1 kB / 453.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2176, allocations: 2.562 kB / 453.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.2178, allocations: 43.62 kB / 453.2 MB, free: 39.28 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001498/0.2193, allocations: 1.334 MB / 454.6 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.2201, allocations: 0.5106 MB / 455.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2201, allocations: 0 / 455.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.2204, allocations: 178.9 kB / 455.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2207, allocations: 49.36 kB / 455.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.2238, allocations: 3.061 MB / 458.4 MB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.2239, allocations: 117.4 kB / 458.5 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.657e-05/0.2239, allocations: 24.91 kB / 458.5 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2241, allocations: 55.75 kB / 458.6 MB, free: 36.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2241, allocations: 4 kB / 458.6 MB, free: 36.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.2451, allocations: 6.806 MB / 465.4 MB, free: 34.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.01, allocations: 3.938 kB / 465.4 MB, free: 34.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.988322637975216]