Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.0008029/0.0008029, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002118, allocations: 457.8 kB / 10.45 MB, free: 244 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.0008507/0.0008507, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001905, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.064/1.064, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1435/1.207, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.313/0.313, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03049/0.3435, allocations: 13.23 MB / 292.8 MB, free: 6.387 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.518e-05, allocations: 2.969 kB / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003869/0.003894, allocations: 1.81 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.006665, allocations: 1.777 MB / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.006799, allocations: 0 / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.007119, allocations: 43.7 kB / 297.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.007531, allocations: 104 kB / 297.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.007817, allocations: 83.55 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.00802, allocations: 107.6 kB / 298.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.008115, allocations: 11.92 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.00826, allocations: 78.69 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.008391, allocations: 35.84 kB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.008409, allocations: 8 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.008601, allocations: 111.7 kB / 298.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.008651, allocations: 19.94 kB / 298.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.008684, allocations: 15.94 kB / 298.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.009272, allocations: 143.5 kB / 298.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.009286, allocations: 0 / 298.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.009288, allocations: 0 / 298.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.009298, allocations: 0 / 298.5 MB, free: 0.6367 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004993/0.009797, allocations: 356.9 kB / 298.9 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.009833, allocations: 11.44 kB / 298.9 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.009875, allocations: 16.92 kB / 298.9 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.01006, allocations: 142.2 kB / 299 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.01007, allocations: 4.375 kB / 299 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.0101, allocations: 4.375 kB / 299 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.01027, allocations: 109.1 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01028, allocations: 3.938 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.01029, allocations: 0 / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01029, allocations: 0 / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.01032, allocations: 10.83 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.01059, allocations: 170 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.01072, allocations: 89.23 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.01075, allocations: 12.84 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01077, allocations: 4 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.01091, allocations: 74.05 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.01091, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000386/0.0113, allocations: 113.6 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.01134, allocations: 51.41 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01147, allocations: 160.3 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.01149, allocations: 29.7 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.01153, allocations: 92.12 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01156, allocations: 31.73 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.01159, allocations: 25.7 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.01169, allocations: 318.8 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.01171, allocations: 10.83 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.01175, allocations: 64.19 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.01181, allocations: 36.52 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01181, allocations: 0 / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.01192, allocations: 88.48 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01194, allocations: 8 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01194, allocations: 0 / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01196, allocations: 0 / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.01206, allocations: 16.38 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01206, allocations: 0 / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.01211, allocations: 11.98 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.01211, allocations: 3.984 kB / 300.5 MB, free: 14.41 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 9.257e-05/0.01221, allocations: 120.6 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.01222, allocations: 11.92 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.01235, allocations: 79.61 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01235, allocations: 4 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01235, allocations: 0 / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01236, allocations: 0 / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.01261, allocations: 291.4 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01261, allocations: 4 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.01264, allocations: 8 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.01265, allocations: 7.953 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01266, allocations: 3.984 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.01266, allocations: 4 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01267, allocations: 4.031 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01267, allocations: 0 / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.01278, allocations: 222.9 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.0128, allocations: 4 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.01284, allocations: 3.984 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.01287, allocations: 8 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.01288, allocations: 7.984 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.01292, allocations: 37.08 kB / 301.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01293, allocations: 0 / 301.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.01312, allocations: 55.8 kB / 301.4 MB, free: 13.48 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.001694/0.01481, allocations: 0.7614 MB / 302.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01494, allocations: 52.69 kB / 302.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.01495, allocations: 0 / 302.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.01498, allocations: 24.95 kB / 302.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01523, allocations: 192.5 kB / 302.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.01571, allocations: 207.9 kB / 302.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.01575, allocations: 63.34 kB / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.01579, allocations: 21.42 kB / 302.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.01587, allocations: 79.45 kB / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01587, allocations: 0 / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Templates: time 0.004391/0.02026, allocations: 2.808 MB / 305.6 MB, free: 9.613 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.092384686693549]