Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.0007849/0.0007849, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002, 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.0007346/0.0007346, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001788, 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 0.9751/0.9751, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09376/1.069, allocations: 53.88 MB / 243.9 MB, free: 14.85 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.2721/0.2721, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.025/0.2971, allocations: 13.24 MB / 292.8 MB, free: 6.395 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.329e-05, allocations: 3.297 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002011/0.002024, allocations: 1.83 MB / 296 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003351, allocations: 1.021 MB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.003438, allocations: 7.938 kB / 297.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.003669, allocations: 83.64 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.003887, allocations: 119.3 kB / 297.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.004069, allocations: 83.55 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004238, allocations: 131.5 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.004321, allocations: 8 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.004458, allocations: 95.78 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.004555, allocations: 51.88 kB / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.00457, allocations: 4 kB / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.004669, allocations: 63.86 kB / 297.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.004717, allocations: 23.92 kB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.004749, allocations: 15.94 kB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.004927, allocations: 115.5 kB / 297.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.004937, allocations: 0 / 297.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004938, allocations: 4 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.004948, allocations: 4 kB / 297.8 MB, free: 1.324 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.0004889/0.005437, allocations: 356.8 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.005474, allocations: 11.44 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.005516, allocations: 16.94 kB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.005688, allocations: 149.5 kB / 298.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.005706, allocations: 8.375 kB / 298.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.005731, allocations: 4.375 kB / 298.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.005853, allocations: 65.7 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005863, allocations: 4.188 kB / 298.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.005871, allocations: 384 / 298.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.005882, allocations: 7.938 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.005912, allocations: 11.98 kB / 298.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.006157, allocations: 177.9 kB / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.006319, allocations: 93.3 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.00634, allocations: 12.84 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.006352, allocations: 4 kB / 298.8 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.006454, allocations: 66.3 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006455, allocations: 0 / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004505/0.006905, allocations: 183.3 kB / 299 MB, free: 76 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.006934, allocations: 51.41 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.007068, allocations: 196.9 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.007087, allocations: 29.64 kB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.007121, allocations: 96.11 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.007153, allocations: 35.72 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.007188, allocations: 29.69 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.007281, allocations: 330.8 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.007301, allocations: 14.83 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.00733, allocations: 26.58 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.007383, allocations: 53.16 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007384, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.819e-05/0.007472, allocations: 83.55 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.007487, allocations: 8 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007492, allocations: 0 / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.007505, allocations: 0 / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.007571, allocations: 27.92 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007575, allocations: 0 / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.007606, allocations: 11.95 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.007611, allocations: 7.969 kB / 300 MB, free: 15.02 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.023e-05/0.007681, allocations: 127 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.007696, allocations: 15.92 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.007812, allocations: 91.06 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.007818, allocations: 7.984 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.007819, allocations: 0 / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.007823, allocations: 0 / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.008068, allocations: 324.2 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.008071, allocations: 8.062 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.008104, allocations: 15.94 kB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.008116, allocations: 11.91 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008118, allocations: 4 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.008126, allocations: 7.984 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008129, allocations: 4 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00813, allocations: 0 / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.008255, allocations: 231.8 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.008275, allocations: 11.94 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.008313, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.00834, allocations: 7.984 kB / 300.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.008353, allocations: 12 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.008401, allocations: 61.55 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008401, allocations: 0 / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.008553, allocations: 35.92 kB / 300.9 MB, free: 13.99 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.001558/0.01011, allocations: 0.6991 MB / 301.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01022, allocations: 60.64 kB / 301.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.01023, allocations: 8.094 kB / 301.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.01027, allocations: 36.83 kB / 301.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01049, allocations: 172.5 kB / 301.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01094, allocations: 283.4 kB / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.01099, allocations: 71.33 kB / 302.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.01103, allocations: 24.81 kB / 302.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.0111, allocations: 71.36 kB / 302.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0111, allocations: 0 / 302.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of Templates: time 0.003807/0.0149, allocations: 2.328 MB / 304.7 MB, free: 10.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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: 2.939952072687447]