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.0009458/0.0009458, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.001543/0.001543, allocations: 160.9 kB / 24.06 MB, free: 472 kB / 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.952/0.952, allocations: 177 MB / 204.2 MB, free: 5.711 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.2468/0.2468, allocations: 34.24 MB / 295 MB, free: 0.6953 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.863e-06/1.863e-06, allocations: 0 / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.316e-05, allocations: 2.281 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.2055/0.2056, allocations: 1.82 MB / 444.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2067, allocations: 0.9624 MB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.2068, allocations: 2.656 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.207, allocations: 62.52 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.2073, allocations: 129 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2076, allocations: 156.6 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.2078, allocations: 203.7 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2079, allocations: 15.95 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.208, allocations: 110.1 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2082, allocations: 86.95 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.2082, allocations: 18.45 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.2083, allocations: 42.77 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.2084, allocations: 45.42 kB / 446 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.2084, allocations: 47.92 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2087, allocations: 204.6 kB / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2087, allocations: 3.5 kB / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2087, allocations: 0 / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2087, allocations: 0 / 446.3 MB, free: 42.69 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.00072/0.2094, allocations: 0.5036 MB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2094, allocations: 11.75 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.378e-05/0.2095, allocations: 37.91 kB / 446.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.2095, allocations: 17.59 kB / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2097, allocations: 183.7 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2097, allocations: 6.719 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.2097, allocations: 9.969 kB / 447.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.21, allocations: 143.7 kB / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.21, allocations: 192 / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.21, allocations: 4.125 kB / 447.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.21, allocations: 5.625 kB / 447.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2103, allocations: 161.4 kB / 447.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.2107, allocations: 319.8 kB / 447.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.211, allocations: 188.9 kB / 447.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2112, allocations: 87.69 kB / 447.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2112, allocations: 0 / 447.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.2116, allocations: 174.7 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 5.991e-06/0.2116, allocations: 0 / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001926/0.2135, allocations: 0.8172 MB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2135, allocations: 57.64 kB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.2138, allocations: 257 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2138, allocations: 29.7 kB / 449.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2138, allocations: 126.9 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.2139, allocations: 33.62 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.2139, allocations: 32.66 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.214, allocations: 334.8 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.2144, allocations: 228.3 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.2147, allocations: 225.1 kB / 450.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.2153, allocations: 368.7 kB / 450.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2153, allocations: 0 / 450.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007347/0.2161, allocations: 0.5091 MB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.2161, allocations: 61.12 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2161, allocations: 2.812 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2161, allocations: 112 / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2164, allocations: 74.88 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2164, allocations: 9.344 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2166, allocations: 66.22 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2166, allocations: 2.844 kB / 451.3 MB, free: 40.12 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.0001008/0.2167, allocations: 136.6 kB / 451.4 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2167, allocations: 26.58 kB / 451.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.2174, allocations: 407.8 kB / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2174, allocations: 0 / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.2174, allocations: 2.938 kB / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2175, allocations: 0 / 451.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.2184, allocations: 0.6499 MB / 452.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.2184, allocations: 0 / 452.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2186, allocations: 74.77 kB / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2186, allocations: 0 / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2187, allocations: 0 / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2187, allocations: 2.781 kB / 452.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2187, allocations: 3.938 kB / 452.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.2194, allocations: 490.3 kB / 453.1 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2195, allocations: 20.41 kB / 453.1 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2195, allocations: 6.969 kB / 453.1 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.2197, allocations: 57.59 kB / 453.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2198, allocations: 56.3 kB / 453.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2199, allocations: 10.17 kB / 453.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.22, allocations: 186 kB / 453.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.22, allocations: 0 / 453.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.2202, allocations: 45.66 kB / 453.4 MB, free: 39.18 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.001586/0.2218, allocations: 1.33 MB / 454.8 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007898/0.2226, allocations: 0.5171 MB / 455.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2226, allocations: 0 / 455.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.2229, allocations: 173.6 kB / 455.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2232, allocations: 34.5 kB / 455.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.2263, allocations: 3.076 MB / 458.6 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.2264, allocations: 112 kB / 458.7 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.2265, allocations: 22.66 kB / 458.7 MB, free: 36.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2266, allocations: 60.09 kB / 458.8 MB, free: 36.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2266, allocations: 0 / 458.8 MB, free: 36.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.2463, allocations: 6.799 MB / 465.6 MB, free: 34.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.084, allocations: 7.922 kB / 465.6 MB, free: 34.38 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 9.252110928297043]