Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001134/0.001134, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005544/0.005544, allocations: 159.5 kB / 24.7 MB, free: 9.441 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.8951/0.8951, allocations: 177 MB / 204.9 MB, free: 5.754 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.2829/0.2829, allocations: 34.24 MB / 295.6 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 443.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.687e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.2373/0.2373, allocations: 1.704 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2386, allocations: 0.9815 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.2387, allocations: 0 / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.239, allocations: 54.11 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.2393, allocations: 98.86 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.2395, allocations: 89.28 kB / 446.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.2396, allocations: 98.22 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2397, allocations: 9.688 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.2398, allocations: 61.23 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.2399, allocations: 25.67 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2399, allocations: 2.531 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.24, allocations: 49.28 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.24, allocations: 30.3 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2401, allocations: 20.19 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2403, allocations: 140.7 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2403, allocations: 3.812 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2403, allocations: 0 / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2403, allocations: 0 / 446.9 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.000394/0.2407, allocations: 365 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2407, allocations: 8.406 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.2407, allocations: 18.14 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2409, allocations: 166.4 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.241, allocations: 3.156 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.241, allocations: 3.062 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2411, allocations: 60.59 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2411, allocations: 1.031 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2411, allocations: 384 / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2411, allocations: 6.594 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.2411, allocations: 25.09 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.2414, allocations: 240.5 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2415, allocations: 56.91 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.2415, allocations: 29.3 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.2415, allocations: 0 / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.936e-05/0.2416, allocations: 73.72 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.2416, allocations: 0 / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.242, allocations: 187.2 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.242, allocations: 58.38 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2422, allocations: 276.1 kB / 448.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.2422, allocations: 25.7 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.2422, allocations: 124.1 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.2422, allocations: 26.2 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.2423, allocations: 22.34 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.2423, allocations: 328.6 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.2423, allocations: 22.78 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.2424, allocations: 40.31 kB / 449 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.2424, allocations: 60.56 kB / 449 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2424, allocations: 0 / 449 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001015/0.2425, allocations: 111.7 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2425, allocations: 9.938 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2425, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2426, allocations: 6.203 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.2426, allocations: 16 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2426, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.2427, allocations: 9.875 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2427, allocations: 2.656 kB / 449.2 MB, free: 41.12 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 6.012e-05/0.2427, allocations: 134.2 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2427, allocations: 21.61 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.2429, allocations: 129.2 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2429, allocations: 0 / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2429, allocations: 2.875 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2429, allocations: 288 / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2431, allocations: 361.7 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2431, allocations: 5.781 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.2431, allocations: 16.14 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2431, allocations: 0 / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2431, allocations: 2.844 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2432, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2432, allocations: 7.969 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.2433, allocations: 226 kB / 450.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.2433, allocations: 10.72 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2433, allocations: 6.188 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.2433, allocations: 6.094 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.2434, allocations: 10.09 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2434, allocations: 2.938 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.2435, allocations: 208.5 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2435, allocations: 3.938 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.2436, allocations: 24 kB / 450.3 MB, free: 40.31 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.0008001/0.2444, allocations: 490 kB / 450.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2446, allocations: 61.48 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2446, allocations: 64 / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.2446, allocations: 39.33 kB / 450.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2448, allocations: 30.89 kB / 451 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.2452, allocations: 329.1 kB / 451.3 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.2453, allocations: 103.9 kB / 451.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.2453, allocations: 18.38 kB / 451.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2453, allocations: 0 / 451.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of Templates: time 0.002662/0.248, allocations: 2.171 MB / 453.6 MB, free: 39.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.3439539493992925]