Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0007164/0.0007164, 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.0008011/0.0008011, 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.9294/0.9294, 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.2553/0.2553, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 4 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.611e-05, allocations: 5.094 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.1985/0.1985, allocations: 1.81 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1997, allocations: 0.9923 MB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.1998, allocations: 0 / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.2, allocations: 71.17 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.2003, allocations: 123.9 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2007, allocations: 210.7 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.2009, allocations: 211 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.201, allocations: 17.5 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2011, allocations: 107.1 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.2012, allocations: 93.06 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.2012, allocations: 14.88 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.2013, allocations: 41.84 kB / 445.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.2014, allocations: 47.19 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.2014, allocations: 46.31 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.2016, allocations: 210.7 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2016, allocations: 0 / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2016, allocations: 0.7188 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2016, allocations: 0 / 446.2 MB, free: 42.76 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.0006255/0.2022, allocations: 0.5136 MB / 446.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2023, allocations: 11.81 kB / 446.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.2023, allocations: 37.53 kB / 446.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.2023, allocations: 20.08 kB / 446.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2025, allocations: 180.2 kB / 446.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.2025, allocations: 2.875 kB / 446.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2025, allocations: 9.969 kB / 446.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2028, allocations: 145.1 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2028, allocations: 192 / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2028, allocations: 7.25 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/0.2028, allocations: 2.781 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.2031, allocations: 166.9 kB / 447.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.2035, allocations: 380.3 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.2039, allocations: 199.6 kB / 447.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.204, allocations: 84.45 kB / 447.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.204, allocations: 6.062 kB / 447.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.2044, allocations: 170.5 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.2044, allocations: 0 / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001881/0.2063, allocations: 0.845 MB / 448.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2063, allocations: 58.09 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2065, allocations: 255.3 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2065, allocations: 32.52 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.2066, allocations: 123.8 kB / 449.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.2066, allocations: 40.23 kB / 449.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.2067, allocations: 39.62 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.2067, allocations: 336.8 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.2071, allocations: 228.8 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.2074, allocations: 239.6 kB / 450.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.208, allocations: 372.9 kB / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.208, allocations: 0 / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006926/0.2087, allocations: 0.5199 MB / 451.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.2087, allocations: 64.41 kB / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2087, allocations: 0 / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2087, allocations: 3 kB / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.2089, allocations: 69.69 kB / 451.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2089, allocations: 4 kB / 451.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2091, allocations: 63.11 kB / 451.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2091, allocations: 2.781 kB / 451.3 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: 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 8.607e-05/0.2092, allocations: 146.7 kB / 451.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.2092, allocations: 27.7 kB / 451.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.2099, allocations: 418.6 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2099, allocations: 2.969 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2099, allocations: 3.938 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2099, allocations: 2.531 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.2108, allocations: 0.6719 MB / 452.6 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2108, allocations: 3.375 kB / 452.6 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2109, allocations: 67.06 kB / 452.6 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2109, allocations: 0 / 452.6 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2109, allocations: 0 / 452.6 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2109, allocations: 5.281 kB / 452.6 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2109, allocations: 11.3 kB / 452.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.2116, allocations: 496.4 kB / 453.1 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.2116, allocations: 23.94 kB / 453.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2116, allocations: 2.75 kB / 453.2 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2118, allocations: 67.77 kB / 453.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.2119, allocations: 52.22 kB / 453.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2119, allocations: 6.844 kB / 453.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.018e-05/0.212, allocations: 191.5 kB / 453.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.212, allocations: 0 / 453.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000198/0.2122, allocations: 47.75 kB / 453.5 MB, free: 39.19 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.001381/0.2136, allocations: 1.338 MB / 454.9 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007409/0.2143, allocations: 0.5242 MB / 455.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2143, allocations: 0 / 455.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.2146, allocations: 178.6 kB / 455.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2149, allocations: 47.14 kB / 455.6 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.2179, allocations: 3.136 MB / 458.7 MB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.436e-05/0.2179, allocations: 122.2 kB / 458.9 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.64e-05/0.218, allocations: 32.11 kB / 458.9 MB, free: 36.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.2181, allocations: 56.67 kB / 459 MB, free: 36.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2181, allocations: 0 / 459 MB, free: 36.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2375, allocations: 6.879 MB / 465.8 MB, free: 34.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.993, allocations: 3.938 kB / 465.8 MB, free: 34.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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[1],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(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,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[1],t_new.u2[1],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[1],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: 9.039367460645735]