Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008448/0.0008448, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002242, 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.0008458/0.0008458, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001978, 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 1.005/1.005, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.107, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.273/0.273, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02508/0.2981, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.883e-05, allocations: 2.312 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002609/0.002628, allocations: 1.824 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.004051, allocations: 1.021 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.004116, allocations: 4 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.004328, allocations: 91.56 kB / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.004577, allocations: 135.3 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.004743, allocations: 75.67 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.004915, allocations: 127.6 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.004987, allocations: 11.97 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.005136, allocations: 95.8 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.005235, allocations: 51.88 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00525, allocations: 4 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.005367, allocations: 67.84 kB / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.005413, allocations: 23.86 kB / 297.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.005451, allocations: 15.94 kB / 297.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005657, allocations: 123.5 kB / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.005671, allocations: 0 / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005672, allocations: 0 / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.005686, allocations: 0 / 297.6 MB, free: 1.434 MB / 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.0004739/0.00616, allocations: 360.8 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.006194, allocations: 8.922 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.006229, allocations: 16.92 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.006418, allocations: 150.9 kB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.006432, allocations: 384 / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.00645, allocations: 8.375 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.006567, allocations: 69.77 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006577, allocations: 4.172 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.006584, allocations: 384 / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.00659, allocations: 3.938 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.006623, allocations: 8 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.006872, allocations: 181.8 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007042, allocations: 97.34 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.007068, allocations: 12.86 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.007079, allocations: 0 / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.007184, allocations: 66.34 kB / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 5.38e-06/0.00719, allocations: 0 / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000473/0.007663, allocations: 182.8 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.007697, allocations: 59.39 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.007846, allocations: 188.1 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.007866, allocations: 33.69 kB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.007907, allocations: 96.11 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.00794, allocations: 35.69 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.007986, allocations: 29.69 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.008078, allocations: 330.8 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.008103, allocations: 10.83 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.00814, allocations: 31.33 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.008209, allocations: 55.17 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00821, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001162/0.008326, allocations: 88.31 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.008339, allocations: 8 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.008346, allocations: 3.984 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.008355, allocations: 3.984 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.00843, allocations: 24.03 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.008433, allocations: 0 / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.008472, allocations: 11.98 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008479, allocations: 0 / 299.8 MB, free: 15.12 MB / 298.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 (13): * Single equations (assignments): 13 * 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.671e-05/0.008555, allocations: 120.6 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.008577, allocations: 15.92 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.008714, allocations: 87.06 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.008718, allocations: 4 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.008719, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008722, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.009031, allocations: 340.1 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.009035, allocations: 7.938 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.009089, allocations: 15.98 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.009106, allocations: 15.91 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009109, allocations: 0 / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.009116, allocations: 0 / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009118, allocations: 4 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.00912, allocations: 4 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.009271, allocations: 236.5 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.009292, allocations: 8 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.009361, allocations: 4 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.009392, allocations: 11.97 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.009405, allocations: 4 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.009472, allocations: 61.72 kB / 300.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009472, allocations: 0 / 300.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.009711, allocations: 35.94 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001678/0.01139, allocations: 0.7124 MB / 301.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.01148, allocations: 48.78 kB / 301.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.01149, allocations: 4 kB / 301.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.01152, allocations: 32.77 kB / 301.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.0117, allocations: 43.97 kB / 301.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.01214, allocations: 263.8 kB / 301.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.01218, allocations: 75.52 kB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.01222, allocations: 20.62 kB / 301.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.01228, allocations: 75.36 kB / 302 MB, free: 13.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01228, allocations: 0 / 302 MB, free: 13.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003685/0.01597, allocations: 2.33 MB / 304.3 MB, free: 10.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.8459669994190335]