Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001321/0.001321, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001425/0.001425, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.539/1.539, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.213/0.213, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.537e-05, allocations: 4.672 kB / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002914/0.002939, allocations: 1.677 MB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004742, allocations: 0.9542 MB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.004815, allocations: 3.938 kB / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.00511, allocations: 51.75 kB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.005428, allocations: 103.5 kB / 445.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.005628, allocations: 83.59 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.005804, allocations: 91.7 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.005845, allocations: 8.219 kB / 445.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005956, allocations: 59.77 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.006041, allocations: 19.92 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.00606, allocations: 4 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.00615, allocations: 35.92 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.006219, allocations: 31.84 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.006266, allocations: 15.94 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.006481, allocations: 123.5 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006484, allocations: 0 / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006485, allocations: 4 kB / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.006489, allocations: 0 / 446 MB, free: 1.922 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005677/0.007057, allocations: 369.3 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.007091, allocations: 8.031 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.007138, allocations: 12.84 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.007401, allocations: 158.5 kB / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.007415, allocations: 384 / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.007429, allocations: 4.375 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.007576, allocations: 54.17 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.007585, allocations: 192 / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.007594, allocations: 4.375 kB / 446.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.007603, allocations: 11.92 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.007681, allocations: 15.94 kB / 446.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.007879, allocations: 141.3 kB / 446.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.008052, allocations: 50.61 kB / 446.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.00811, allocations: 16.86 kB / 446.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.008128, allocations: 3.984 kB / 446.8 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.008282, allocations: 67.39 kB / 446.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.008283, allocations: 4 kB / 446.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003085/0.008592, allocations: 105.5 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.008648, allocations: 59.34 kB / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.008954, allocations: 275 kB / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.008974, allocations: 25.7 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.009053, allocations: 116.1 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.009083, allocations: 15.84 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.009122, allocations: 17.72 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2194/0.2285, allocations: 330.8 kB / 447.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2286, allocations: 12.34 kB / 447.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.2287, allocations: 32.98 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2288, allocations: 45.83 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2288, allocations: 1.594 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002197/0.229, allocations: 89.45 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.229, allocations: 5.375 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2291, allocations: 1.344 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2291, allocations: 0.7969 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.2292, allocations: 18.88 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2292, allocations: 2.656 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.2292, allocations: 5.234 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2293, allocations: 2.375 kB / 448 MB, free: 18.97 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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 0.0001152/0.2294, allocations: 137.2 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2294, allocations: 16.62 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.2296, allocations: 104.8 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2296, allocations: 4.938 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2297, allocations: 0 / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2297, allocations: 1.828 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.2298, allocations: 137.4 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2298, allocations: 1.812 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.2298, allocations: 8.094 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2298, allocations: 6.984 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2299, allocations: 1.672 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2299, allocations: 2.531 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2299, allocations: 3.938 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2301, allocations: 121.9 kB / 448.6 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.2302, allocations: 14.33 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2302, allocations: 1.094 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.2303, allocations: 6.062 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.2303, allocations: 8.469 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2303, allocations: 5.047 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.2305, allocations: 211.6 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2305, allocations: 0 / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.2308, allocations: 18.81 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001681/0.2324, allocations: 437.1 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2326, allocations: 51.08 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2326, allocations: 0 / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.2327, allocations: 20.03 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2331, allocations: 31.31 kB / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.2336, allocations: 272.7 kB / 449.6 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2337, allocations: 109.5 kB / 449.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.2338, allocations: 10.64 kB / 449.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2338, allocations: 15.52 kB / 449.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2338, allocations: 0 / 449.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005693/0.2395, allocations: 1.646 MB / 451.4 MB, free: 17.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.042542275041342]