Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009006/0.0009006, allocations: 76.27 kB / 22.21 MB, free: 2.297 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.001723/0.001723, allocations: 169 kB / 25.61 MB, free: 8.902 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.9655/0.9655, allocations: 177 MB / 205.9 MB, free: 4.453 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.1431/0.1431, allocations: 34.87 MB / 297.4 MB, free: 13.41 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.62e-05, allocations: 2.312 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00423/0.004246, allocations: 1.747 MB / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.005425, allocations: 0.9968 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.005503, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.005769, allocations: 39.83 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.006015, allocations: 103.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.00616, allocations: 79.66 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.006296, allocations: 107.6 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.006375, allocations: 7.984 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.00645, allocations: 55.83 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.006514, allocations: 27.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.006529, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.009619, allocations: 47.86 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.009667, allocations: 27.91 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.0097, allocations: 19.94 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.009848, allocations: 95.59 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00985, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009851, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.009855, allocations: 4 kB / 383.5 MB, free: 19.29 MB / 314.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.0003389/0.01019, allocations: 443.9 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.01022, allocations: 8.031 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.01026, allocations: 16.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.01038, allocations: 157.1 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.01039, allocations: 4.375 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.01041, allocations: 8.375 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.01049, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.0105, allocations: 4.188 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.01051, allocations: 4.359 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01052, allocations: 3.938 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.01054, allocations: 4 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.01074, allocations: 268.3 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.01082, allocations: 51.14 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.01083, allocations: 11.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.01084, allocations: 8 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.282e-05/0.01092, allocations: 65.05 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.01092, allocations: 7.922 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.0112, allocations: 145.4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.01122, allocations: 55.34 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.01131, allocations: 222.8 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.01132, allocations: 33.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.01135, allocations: 150.8 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.01138, allocations: 27.77 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.01141, allocations: 31.38 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.01146, allocations: 0.5001 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.01148, allocations: 11.98 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.01151, allocations: 31.34 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.01155, allocations: 47.38 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.01155, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.82e-05/0.01164, allocations: 89.52 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.01165, allocations: 4 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01165, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01166, allocations: 8.016 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.01172, allocations: 15.94 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01172, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.01175, allocations: 4.375 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.01176, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.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 4.892e-05/0.01181, allocations: 164.6 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.01183, allocations: 19.84 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.01195, allocations: 99.06 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01195, allocations: 4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01195, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01195, allocations: 8 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.01216, allocations: 357.6 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01216, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.01218, allocations: 15.98 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01219, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.01219, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01219, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01219, allocations: 4 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.0123, allocations: 255.7 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01231, allocations: 7.953 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01233, allocations: 11.97 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.01238, allocations: 7.984 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003036/0.01542, allocations: 7.938 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01543, allocations: 7.984 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.01548, allocations: 163.1 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01548, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01571, allocations: 27.94 kB / 387.1 MB, free: 15.39 MB / 314.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.0009207/0.01663, allocations: 427.4 kB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.01672, allocations: 55.58 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01672, allocations: 0 / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.01675, allocations: 31.61 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01702, allocations: 42.44 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.01728, allocations: 215.9 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.01731, allocations: 71.2 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.01734, allocations: 13.41 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.0174, allocations: 94.19 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0174, allocations: 0 / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Templates: time 0.006506/0.02391, allocations: 2.069 MB / 390.1 MB, free: 12.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.296264121774584]