Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.0007914/0.0007914, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001817, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006929/0.0006929, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000863/0.001556, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9972/0.9972, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08173/1.079, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.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.2751/0.2751, allocations: 34.85 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02742/0.3025, allocations: 13.23 MB / 292.6 MB, free: 6.492 MB / 282.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 293.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.255e-05, allocations: 2.312 kB / 294 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001981/0.002004, allocations: 1.886 MB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003315, allocations: 1.099 MB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.003392, allocations: 0 / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.00372, allocations: 307.1 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.004034, allocations: 259 kB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.004237, allocations: 107.6 kB / 297.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.004476, allocations: 267.2 kB / 297.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.004514, allocations: 6.469 kB / 297.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.004716, allocations: 221 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.004872, allocations: 175.7 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.004891, allocations: 12 kB / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.004977, allocations: 51.86 kB / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.005084, allocations: 132.1 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.005144, allocations: 51.75 kB / 298.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.005399, allocations: 286.8 kB / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.005414, allocations: 0 / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005414, allocations: 0 / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.005432, allocations: 0 / 298.8 MB, free: 292 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006967/0.006128, allocations: 0.6943 MB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.006161, allocations: 8.031 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.006215, allocations: 36.89 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.00649, allocations: 301.8 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006506, allocations: 4.375 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.006518, allocations: 8.359 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.00665, allocations: 83.45 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006658, allocations: 4.188 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006668, allocations: 11.55 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006673, allocations: 0 / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.006711, allocations: 21.58 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.006845, allocations: 114.4 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.006952, allocations: 78.86 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.006989, allocations: 29.69 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.007001, allocations: 3.938 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.00713, allocations: 111.8 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007131, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001709/0.007302, allocations: 111.2 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.007339, allocations: 85.09 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.007733, allocations: 0.6024 MB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.007751, allocations: 33.7 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.007814, allocations: 149.3 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.007851, allocations: 23.78 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.007893, allocations: 29.7 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.008016, allocations: 366.7 kB / 301.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.008042, allocations: 22.75 kB / 301.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.008077, allocations: 35.42 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.008142, allocations: 67.83 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.008145, allocations: 0 / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001132/0.008258, allocations: 111.8 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.008273, allocations: 4 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008278, allocations: 4 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.008287, allocations: 3.938 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.008368, allocations: 27.92 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.008371, allocations: 0 / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.008421, allocations: 20.02 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.008427, allocations: 0 / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.391e-05/0.008521, allocations: 136.4 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.008552, allocations: 31.97 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.008688, allocations: 121.9 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.008691, allocations: 3.938 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008693, allocations: 0 / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.008698, allocations: 4 kB / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.008833, allocations: 161.7 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008834, allocations: 0 / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.008863, allocations: 20 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.008918, allocations: 55.61 kB / 302.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00892, allocations: 3.938 kB / 302.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.008927, allocations: 0 / 302.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.00893, allocations: 4 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008931, allocations: 7.875 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.009045, allocations: 135.2 kB / 302.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.009072, allocations: 4 kB / 302.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.009111, allocations: 7.984 kB / 302.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.009141, allocations: 15.92 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.009153, allocations: 4 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.009366, allocations: 323.2 kB / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009366, allocations: 0 / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.009512, allocations: 43.94 kB / 303 MB, free: 11.75 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00134/0.01085, allocations: 0.5437 MB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01098, allocations: 60.77 kB / 303.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.01099, allocations: 8 kB / 303.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.01103, allocations: 40.84 kB / 303.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01127, allocations: 82.27 kB / 303.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.01211, allocations: 0.6578 MB / 304.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.876e-05/0.01218, allocations: 132.2 kB / 304.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.377e-05/0.01226, allocations: 38.95 kB / 304.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.01237, allocations: 99.34 kB / 304.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01237, allocations: 4 kB / 304.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00659/0.01896, allocations: 4.366 MB / 309 MB, free: 6.027 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9671176932752132]