Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002791/0.002791, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 55.86 kB / 348.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2773, allocations: 49.16 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003006/0.2803, allocations: 1.61 MB / 399.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.2853, allocations: 3.26 MB / 402.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.2854, allocations: 2.906 kB / 402.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.2858, allocations: 56.45 kB / 402.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.2858, allocations: 15.77 kB / 402.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.2903, allocations: 1.474 MB / 404 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.2906, allocations: 143.8 kB / 404.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2907, allocations: 22.69 kB / 404.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.2908, allocations: 62.28 kB / 404.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2909, allocations: 51.41 kB / 404.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.291, allocations: 7.719 kB / 404.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.2934, allocations: 1.438 MB / 405.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2935, allocations: 38.8 kB / 405.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.2936, allocations: 51.42 kB / 405.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.295, allocations: 1.219 MB / 407 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.295, allocations: 1.438 kB / 407 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.295, allocations: 0 / 407 MB, free: 5.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.295, allocations: 0 / 407 MB, free: 5.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001149/0.2962, allocations: 0.4949 MB / 407.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2962, allocations: 13.66 kB / 407.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.2963, allocations: 15.12 kB / 407.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2965, allocations: 150.3 kB / 407.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2965, allocations: 12.25 kB / 407.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2966, allocations: 14.33 kB / 407.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2968, allocations: 127.4 kB / 407.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2968, allocations: 1.906 kB / 407.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2968, allocations: 0 / 407.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2968, allocations: 2.844 kB / 407.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.297, allocations: 66.45 kB / 407.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.2975, allocations: 365.4 kB / 408.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.2978, allocations: 120.4 kB / 408.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.2979, allocations: 43.64 kB / 408.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2979, allocations: 1.188 kB / 408.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2979, allocations: 31.72 kB / 408.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2979, allocations: 5.094 kB / 408.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001856/0.2998, allocations: 0.9855 MB / 409.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2998, allocations: 130.6 kB / 409.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3, allocations: 176.2 kB / 409.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3, allocations: 30.92 kB / 409.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.3, allocations: 114.9 kB / 409.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.3001, allocations: 54.92 kB / 410 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.3001, allocations: 48.27 kB / 410 MB, free: 2.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.3002, allocations: 330.8 kB / 410.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3003, allocations: 97.53 kB / 410.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3005, allocations: 130.3 kB / 410.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3008, allocations: 207.8 kB / 410.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.3008, allocations: 0 / 410.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004923/0.3013, allocations: 313.5 kB / 411.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3013, allocations: 5.594 kB / 411.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.3013, allocations: 1.062 kB / 411.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.3015, allocations: 45.2 kB / 411.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3017, allocations: 32.25 kB / 411.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009093/0.3026, allocations: 1.414 MB / 412.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.3027, allocations: 23.52 kB / 412.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3027, allocations: 3.156 kB / 412.6 MB, free: 0.5195 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.3028, allocations: 133.9 kB / 412.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.3028, allocations: 14.91 kB / 412.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3029, allocations: 19.34 kB / 412.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3029, allocations: 2.875 kB / 412.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3029, allocations: 0 / 412.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3029, allocations: 11.86 kB / 412.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3031, allocations: 220.4 kB / 413 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3031, allocations: 3.984 kB / 413 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3033, allocations: 52.17 kB / 413 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3034, allocations: 1.031 kB / 413 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3034, allocations: 5.25 kB / 413 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3034, allocations: 1.438 kB / 413 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3034, allocations: 0 / 413 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.3039, allocations: 413.8 kB / 413.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.304, allocations: 13.28 kB / 413.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.304, allocations: 5.812 kB / 413.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3041, allocations: 3.438 kB / 413.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3041, allocations: 17.73 kB / 413.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3042, allocations: 3.531 kB / 413.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3043, allocations: 125.5 kB / 413.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3043, allocations: 3.938 kB / 413.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002772/0.3071, allocations: 0.514 MB / 414.1 MB, free: 15.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.00151/0.3086, allocations: 0.5433 MB / 414.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3093, allocations: 379.2 kB / 415 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3093, allocations: 1.188 kB / 415 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.3095, allocations: 82.17 kB / 415.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3098, allocations: 44.44 kB / 415.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.3106, allocations: 443.1 kB / 415.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.311, allocations: 0.732 MB / 416.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.3111, allocations: 16.66 kB / 416.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3111, allocations: 0 / 416.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Templates: time 0.01316/0.3243, allocations: 6.203 MB / 422.5 MB, free: 9.871 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.585940999910235]