Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0008692/0.0008692, allocations: 88.33 kB / 21.44 MB, free: 3.113 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.003565/0.003565, allocations: 153.4 kB / 24.69 MB, free: 9.43 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.8895/0.8895, allocations: 177 MB / 204.9 MB, free: 5.723 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.2681/0.2681, allocations: 34.24 MB / 295.6 MB, free: 0.668 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.599e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.194/0.194, allocations: 1.71 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.195, allocations: 0.9749 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1951, allocations: 2 kB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1954, allocations: 42.31 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1957, allocations: 91.88 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.1959, allocations: 85.59 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.196, allocations: 109.1 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1961, allocations: 14.11 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.1962, allocations: 53.48 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.1963, allocations: 22 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1963, allocations: 9.359 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.1964, allocations: 46.66 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.1964, allocations: 17.09 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1965, allocations: 16.56 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1967, allocations: 127.7 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1967, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1967, allocations: 3.094 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1967, allocations: 1.969 kB / 446.8 MB, free: 42.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004384/0.1971, allocations: 344.3 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1972, allocations: 10.09 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1972, allocations: 14.19 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1974, allocations: 148.4 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1974, allocations: 4.375 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1974, allocations: 3 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1976, allocations: 57.47 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1976, allocations: 192 / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1976, allocations: 4.312 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1976, allocations: 6.438 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.1977, allocations: 20.77 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1979, allocations: 237.7 kB / 447.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.198, allocations: 54.36 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.1981, allocations: 28.91 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1981, allocations: 2.844 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.1982, allocations: 71.5 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1982, allocations: 0 / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003933/0.1986, allocations: 172.8 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1986, allocations: 54.25 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1987, allocations: 211.8 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1987, allocations: 32.3 kB / 448.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1988, allocations: 101.2 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1988, allocations: 18.77 kB / 448.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1988, allocations: 31.84 kB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.1989, allocations: 320.8 kB / 448.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1989, allocations: 22.95 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.1989, allocations: 42.19 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.199, allocations: 65.84 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.199, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001483/0.1992, allocations: 112.1 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1992, allocations: 5.969 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1992, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1992, allocations: 5.219 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.1993, allocations: 14.81 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1993, allocations: 6.938 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.1993, allocations: 4 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1994, allocations: 2.875 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.932e-05/0.1994, allocations: 124.6 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.1995, allocations: 12.7 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.1996, allocations: 129.5 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1996, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1996, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1996, allocations: 6.047 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1999, allocations: 359.1 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1999, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.1999, allocations: 12.91 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1999, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1999, allocations: 6.078 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1999, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1999, allocations: 1.641 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.2, allocations: 213.1 kB / 449.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.2, allocations: 13.72 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2001, allocations: 7.25 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.2001, allocations: 9.906 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.2001, allocations: 5.875 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2001, allocations: 9.719 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.2002, allocations: 155 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2002, allocations: 0 / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.2004, allocations: 20.05 kB / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000811/0.2012, allocations: 486.6 kB / 450.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2013, allocations: 63.8 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2013, allocations: 2.938 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.2014, allocations: 32.14 kB / 450.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2016, allocations: 34.53 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.202, allocations: 254.1 kB / 450.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.202, allocations: 98.48 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.2021, allocations: 20.55 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2021, allocations: 0 / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.00269/0.2047, allocations: 1.997 MB / 453 MB, free: 39.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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: 5.099577407352626]