Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007865/0.0007865, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003476/0.003476, allocations: 159.6 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8795/0.8795, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.054e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.2078/0.2078, allocations: 1.823 MB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.209, allocations: 0.9601 MB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.2091, allocations: 3 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.2093, allocations: 64.77 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.2096, allocations: 124.7 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2099, allocations: 166.1 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2101, allocations: 203.1 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2102, allocations: 14.72 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2103, allocations: 113.6 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2104, allocations: 94.31 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2104, allocations: 13.25 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.2105, allocations: 42.33 kB / 447.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.2106, allocations: 42.81 kB / 447.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.2106, allocations: 45.95 kB / 447.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2108, allocations: 194 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2109, allocations: 0.7188 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2109, allocations: 0 / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2109, allocations: 0.5625 kB / 447.3 MB, free: 42.84 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.0007044/0.2116, allocations: 0.5089 MB / 447.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2116, allocations: 11.31 kB / 447.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.2116, allocations: 21.11 kB / 447.9 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2118, allocations: 168.4 kB / 448 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2118, allocations: 3.562 kB / 448.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.2118, allocations: 5.25 kB / 448.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.2121, allocations: 143.4 kB / 448.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2121, allocations: 6.312 kB / 448.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2121, allocations: 0 / 448.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2121, allocations: 5.578 kB / 448.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.2125, allocations: 166.5 kB / 448.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.2128, allocations: 283.8 kB / 448.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.2132, allocations: 187.5 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2133, allocations: 93.64 kB / 448.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.2133, allocations: 0 / 448.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.2137, allocations: 169.7 kB / 449.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.2137, allocations: 0 / 449.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001748/0.2154, allocations: 0.8257 MB / 449.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2155, allocations: 61.48 kB / 450 MB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2156, allocations: 244.5 kB / 450.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2156, allocations: 36.58 kB / 450.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.2157, allocations: 119.8 kB / 450.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2157, allocations: 36.64 kB / 450.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2158, allocations: 32.53 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.2158, allocations: 334.9 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.2161, allocations: 228.1 kB / 451 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.2165, allocations: 226.1 kB / 451.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.217, allocations: 362.9 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.217, allocations: 4 kB / 451.6 MB, free: 40.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006959/0.2177, allocations: 0.5035 MB / 452.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.2178, allocations: 63.45 kB / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2178, allocations: 3.938 kB / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2178, allocations: 0 / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.218, allocations: 77.25 kB / 452.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.218, allocations: 2.781 kB / 452.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2182, allocations: 63.2 kB / 452.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.2182, allocations: 2.875 kB / 452.3 MB, free: 40.27 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.299e-05/0.2183, allocations: 140.5 kB / 452.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.2183, allocations: 16.5 kB / 452.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/0.219, allocations: 413.2 kB / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.219, allocations: 0 / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.219, allocations: 0 / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.219, allocations: 2.969 kB / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.2198, allocations: 0.6188 MB / 453.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2198, allocations: 0 / 453.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.22, allocations: 69.09 kB / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.22, allocations: 8.641 kB / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.22, allocations: 3.234 kB / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.22, allocations: 0 / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.22, allocations: 2.594 kB / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.2207, allocations: 481.4 kB / 454 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.2207, allocations: 17.86 kB / 454 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.2208, allocations: 3.375 kB / 454 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.2209, allocations: 70.78 kB / 454.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2211, allocations: 45.22 kB / 454.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2211, allocations: 14.31 kB / 454.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2212, allocations: 183.5 kB / 454.3 MB, free: 39.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2212, allocations: 0 / 454.3 MB, free: 39.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.2214, allocations: 52.28 kB / 454.4 MB, free: 39.36 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.0009139/0.2223, allocations: 439.7 kB / 454.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000845/0.2232, allocations: 0.5093 MB / 455.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2232, allocations: 0 / 455.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.2235, allocations: 171.4 kB / 455.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2239, allocations: 36.27 kB / 455.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.2245, allocations: 381.2 kB / 455.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.2245, allocations: 115.1 kB / 456 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.2246, allocations: 20.22 kB / 456 MB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2246, allocations: 4 kB / 456 MB, free: 38.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003729/0.2284, allocations: 3.285 MB / 459.3 MB, free: 38.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 4.970024776645005]