Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001039/0.001039, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001197/0.001197, allocations: 167.9 kB / 24.91 MB, free: 8.262 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.9779/0.9779, allocations: 177 MB / 205.2 MB, free: 5.445 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.2812/0.2812, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.582e-05, allocations: 2.312 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003187/0.003213, allocations: 1.797 MB / 327.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.004766, allocations: 1.017 MB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.004855, allocations: 3.938 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.005205, allocations: 111.6 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.005568, allocations: 131.4 kB / 329.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.005792, allocations: 87.53 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.006003, allocations: 140.3 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.006099, allocations: 18.22 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.006227, allocations: 79.8 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.006341, allocations: 63.8 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.006361, allocations: 4 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.006474, allocations: 59.92 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.006532, allocations: 39.84 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.006578, allocations: 27.92 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.006803, allocations: 139.4 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006807, allocations: 0 / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006808, allocations: 0 / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.006812, allocations: 0 / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004502/0.007262, allocations: 361.2 kB / 330.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.007297, allocations: 12.03 kB / 330.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.00734, allocations: 12.92 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.007537, allocations: 162.4 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.007555, allocations: 8.375 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.007577, allocations: 8.375 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.007733, allocations: 79.55 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007744, allocations: 4.172 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.007752, allocations: 384 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.00776, allocations: 7.922 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.007808, allocations: 15.98 kB / 330.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.008102, allocations: 189.9 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.008293, allocations: 105.2 kB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.008325, allocations: 20.86 kB / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.008337, allocations: 0 / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.008446, allocations: 74.25 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.008448, allocations: 3.938 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005917/0.009039, allocations: 202.2 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.009077, allocations: 55.41 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.009246, allocations: 209.2 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.00927, allocations: 29.7 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.009349, allocations: 104 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.009396, allocations: 51.56 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.009443, allocations: 37.69 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.009536, allocations: 326.8 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.009568, allocations: 18.81 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.009616, allocations: 37.62 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.009698, allocations: 62.77 kB / 331.9 MB, free: 1.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.009701, allocations: 3.938 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001445/0.009846, allocations: 92.42 kB / 332 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.00986, allocations: 4 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009866, allocations: 8.031 kB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.00988, allocations: 0 / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.00997, allocations: 23.98 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.009974, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.01002, allocations: 4 kB / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01003, allocations: 7.984 kB / 332 MB, free: 0.8828 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 (16): * Single equations (assignments): 16 * 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 8.544e-05/0.01011, allocations: 124.5 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.01014, allocations: 19.98 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.0104, allocations: 113.6 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.0104, allocations: 0 / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01041, allocations: 8 kB / 332.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01041, allocations: 0 / 332.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.01079, allocations: 357.4 kB / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.0108, allocations: 7.984 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.01086, allocations: 16 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01086, allocations: 0 / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01087, allocations: 8 kB / 332.6 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.01088, allocations: 7.922 kB / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01088, allocations: 0 / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.01107, allocations: 248 kB / 332.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.01109, allocations: 15.84 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01112, allocations: 7.984 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.01119, allocations: 8 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.01122, allocations: 11.92 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01124, allocations: 8 kB / 332.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.01132, allocations: 73.91 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01132, allocations: 3.938 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01159, allocations: 35.94 kB / 333.1 MB, free: 15.76 MB / 314.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 (16): * Single equations (assignments): 14 * 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.001909/0.0135, allocations: 0.6375 MB / 333.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01365, allocations: 76.31 kB / 333.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01366, allocations: 0 / 333.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.01372, allocations: 40.78 kB / 333.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01398, allocations: 31.97 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.01452, allocations: 305.1 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.01457, allocations: 79.83 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.01474, allocations: 25.47 kB / 334.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.01483, allocations: 75.36 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01483, allocations: 0 / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005323/0.02016, allocations: 2.568 MB / 336.9 MB, free: 12.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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: 3.113564078696072]