Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.00156/0.00156, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001077/0.001077, allocations: 164.3 kB / 24.91 MB, free: 8.73 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.9727/0.9727, allocations: 177 MB / 205.2 MB, free: 5.039 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.311/0.311, allocations: 34.85 MB / 296.6 MB, free: 492 kB / 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.723e-05, allocations: 6.906 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002424/0.002451, allocations: 1.765 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003751, allocations: 1.009 MB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.003832, allocations: 0 / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.004114, allocations: 51.69 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.004433, allocations: 103.5 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.004652, allocations: 79.59 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.004811, allocations: 108.4 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.004889, allocations: 7.984 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.004979, allocations: 55.78 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.005053, allocations: 31.89 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.005067, allocations: 4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.005149, allocations: 43.92 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.005202, allocations: 27.86 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.00524, allocations: 19.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.005415, allocations: 111.6 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005417, allocations: 4 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005417, allocations: 0 / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.00542, allocations: 0 / 329.4 MB, free: 3.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000355/0.005775, allocations: 333.4 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.005805, allocations: 12.03 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.005835, allocations: 12.92 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005988, allocations: 150.4 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.006003, allocations: 384 / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.006021, allocations: 4.375 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.006117, allocations: 61.77 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006127, allocations: 8.188 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.006134, allocations: 384 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006139, allocations: 3.938 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.006168, allocations: 15.92 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.006369, allocations: 165.9 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.006454, allocations: 89.27 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.006473, allocations: 16.92 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.006482, allocations: 0 / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.415e-05/0.006566, allocations: 70.14 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006567, allocations: 0 / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002926/0.00686, allocations: 117.5 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.006889, allocations: 51.41 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.007002, allocations: 201.5 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.007016, allocations: 29.7 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.007048, allocations: 100 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007073, allocations: 23.8 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.007103, allocations: 29.69 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.007209, allocations: 326.8 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.007227, allocations: 6.828 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.007254, allocations: 29.7 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.007302, allocations: 44.45 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007303, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.428e-05/0.007388, allocations: 72.5 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.007401, allocations: 11.92 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.007404, allocations: 0 / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007416, allocations: 0 / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.007474, allocations: 15.94 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.007478, allocations: 4.406 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.007503, allocations: 4 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.00751, allocations: 7.984 kB / 331.4 MB, free: 1.5 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 (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 6.305e-05/0.007573, allocations: 112.7 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.007589, allocations: 19.92 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.007691, allocations: 75.08 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007694, allocations: 4 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-06/0.007695, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007698, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.007917, allocations: 291.5 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.00792, allocations: 7.969 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.007946, allocations: 12 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007948, allocations: 0 / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.007954, allocations: 4 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007955, allocations: 240 / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007957, allocations: 0 / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.008068, allocations: 219.8 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.008083, allocations: 19.83 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.0081, allocations: 4 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.008138, allocations: 4 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.008162, allocations: 7.984 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.008174, allocations: 7.938 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.234e-05/0.008226, allocations: 68.45 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008226, allocations: 0 / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.008378, allocations: 23.94 kB / 332.2 MB, free: 0.5625 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: 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.001247/0.009626, allocations: 0.5654 MB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.009723, allocations: 40.77 kB / 332.9 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.009728, allocations: 4 kB / 332.9 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.009759, allocations: 24.84 kB / 332.9 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.00994, allocations: 31.91 kB / 332.9 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.01029, allocations: 242.6 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.01033, allocations: 75.33 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.01037, allocations: 17.27 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.01043, allocations: 63.38 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01043, allocations: 0 / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003603/0.01404, allocations: 2.021 MB / 335.3 MB, free: 13.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.0236769430339336]