Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001077/0.001077, allocations: 92.33 kB / 21.44 MB, free: 3.102 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.0008017/0.0008017, allocations: 159.6 kB / 24.7 MB, free: 9.434 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.8714/0.8714, allocations: 177 MB / 204.9 MB, free: 5.762 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.2731/0.2731, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.469e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.2042/0.2042, allocations: 1.707 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2053, allocations: 0.9723 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.2054, allocations: 3.719 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2056, allocations: 41.94 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.2059, allocations: 104 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.206, allocations: 76.27 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.2062, allocations: 106.7 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2063, allocations: 7.391 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.2063, allocations: 56.58 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.2064, allocations: 26.41 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2064, allocations: 5.719 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.2065, allocations: 48.09 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.2065, allocations: 16.55 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2066, allocations: 19.89 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2067, allocations: 122 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2067, allocations: 0 / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2067, allocations: 0 / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2068, allocations: 2.906 kB / 446.8 MB, free: 42.95 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.0003672/0.2071, allocations: 339 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2072, allocations: 8.188 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.2072, allocations: 10.08 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.2074, allocations: 158.9 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.2074, allocations: 384 / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2074, allocations: 3.062 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2075, allocations: 59.62 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2075, allocations: 192 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2075, allocations: 2.156 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2075, allocations: 6.562 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.2076, allocations: 20.06 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.2078, allocations: 236.6 kB / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2079, allocations: 53.66 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.208, allocations: 23.94 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.208, allocations: 0 / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.2081, allocations: 73.84 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2081, allocations: 8.531 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003772/0.2084, allocations: 183.7 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2085, allocations: 54.47 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.2086, allocations: 181.1 kB / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.2086, allocations: 33.64 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.2086, allocations: 100.9 kB / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2086, allocations: 25.75 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2086, allocations: 29.5 kB / 448.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.079e-05/0.2087, allocations: 320.8 kB / 448.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.2087, allocations: 22.92 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.2087, allocations: 42.55 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.2088, allocations: 62.83 kB / 448.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2088, allocations: 2.875 kB / 448.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.839e-05/0.2089, allocations: 108.3 kB / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2089, allocations: 5.906 kB / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2089, allocations: 0 / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2089, allocations: 2.906 kB / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.209, allocations: 22.86 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.209, allocations: 2.906 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.209, allocations: 4 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.209, allocations: 2.938 kB / 449 MB, free: 41.19 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 4.942e-05/0.2091, allocations: 122.2 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.2091, allocations: 13.67 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.2092, allocations: 125.9 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2092, allocations: 2.688 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2092, allocations: 0 / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2093, allocations: 4 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.2095, allocations: 354.1 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2095, allocations: 0 / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.2095, allocations: 11.55 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2095, allocations: 0 / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2095, allocations: 2.906 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2095, allocations: 0 / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2095, allocations: 2.812 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2096, allocations: 214.7 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-06/0.2096, allocations: 10.81 kB / 449.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2096, allocations: 19.05 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.2097, allocations: 2.938 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.2097, allocations: 6.422 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2097, allocations: 2.969 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.2098, allocations: 149.7 kB / 450 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2098, allocations: 0 / 450 MB, free: 40.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.2099, allocations: 28.61 kB / 450 MB, free: 40.41 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.0007051/0.2106, allocations: 485.9 kB / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2108, allocations: 64.8 kB / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2108, allocations: 0 / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.2108, allocations: 24.06 kB / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.211, allocations: 32.83 kB / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.2113, allocations: 252.9 kB / 450.9 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.2114, allocations: 92.28 kB / 451 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2114, allocations: 21.09 kB / 451 MB, free: 39.92 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2114, allocations: 3.938 kB / 451 MB, free: 39.91 MB / 410.7 MB Notification: Performance of Templates: time 0.00226/0.2137, allocations: 1.965 MB / 452.9 MB, free: 39.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.025269435718656]