Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 188.3 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2777, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003158/0.2809, allocations: 1.635 MB / 424.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.2863, allocations: 3.202 MB / 427.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2864, allocations: 3.938 kB / 427.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.2868, allocations: 59.69 kB / 428 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.2868, allocations: 7.875 kB / 428 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.2905, allocations: 1.479 MB / 429.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.2908, allocations: 155.6 kB / 429.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2909, allocations: 9.312 kB / 429.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.291, allocations: 63.81 kB / 429.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2911, allocations: 51.72 kB / 429.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2911, allocations: 8 kB / 429.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.2929, allocations: 1.432 MB / 431.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.293, allocations: 35.89 kB / 431.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.2931, allocations: 51.67 kB / 431.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2946, allocations: 1.222 MB / 432.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2946, allocations: 4 kB / 432.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2946, allocations: 0 / 432.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2946, allocations: 0 / 432.5 MB, free: 5.238 MB / 334.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.001052/0.2956, allocations: 0.5013 MB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2957, allocations: 8.031 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.2957, allocations: 20.78 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.296, allocations: 150.3 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.296, allocations: 15.94 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.2961, allocations: 12 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.2964, allocations: 124.2 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2964, allocations: 0 / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2964, allocations: 4 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2964, allocations: 4 kB / 433.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2966, allocations: 51.95 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.2973, allocations: 363.6 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.2976, allocations: 122.6 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.2977, allocations: 36.84 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2978, allocations: 4.188 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2978, allocations: 38.48 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2978, allocations: 0 / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002308/0.3001, allocations: 0.9854 MB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.3002, allocations: 136.4 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3004, allocations: 178.3 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3004, allocations: 25.7 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.3005, allocations: 120.5 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.3005, allocations: 55.91 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.3006, allocations: 45.7 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3008, allocations: 322.8 kB / 435.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.301, allocations: 99.88 kB / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3012, allocations: 135.3 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.3015, allocations: 204.8 kB / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3015, allocations: 0 / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005855/0.3021, allocations: 317.3 kB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3021, allocations: 4 kB / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3021, allocations: 0 / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.3023, allocations: 44.81 kB / 436.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3025, allocations: 35.97 kB / 436.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.304, allocations: 1.412 MB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3041, allocations: 12.02 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3041, allocations: 8 kB / 438.1 MB, free: 15.28 MB / 350.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 0.0001471/0.3042, allocations: 129.8 kB / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3043, allocations: 15.91 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.3043, allocations: 25.47 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3043, allocations: 8 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3043, allocations: 7.922 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3043, allocations: 0 / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.3046, allocations: 212.6 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3046, allocations: 0 / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3049, allocations: 59.89 kB / 438.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3049, allocations: 0 / 438.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.305, allocations: 4 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.305, allocations: 3.938 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.305, allocations: 0 / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3056, allocations: 415 kB / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3056, allocations: 11.91 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3056, allocations: 8 kB / 438.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3057, allocations: 11.97 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3058, allocations: 7.984 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3058, allocations: 4 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3059, allocations: 132.2 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3059, allocations: 4 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001752/0.3077, allocations: 0.5155 MB / 439.6 MB, free: 13.66 MB / 350.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.001142/0.3088, allocations: 0.5552 MB / 440.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007419/0.3096, allocations: 377.1 kB / 440.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3096, allocations: 4 kB / 440.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.3097, allocations: 87.83 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3101, allocations: 29.11 kB / 440.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.3109, allocations: 405.9 kB / 441 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3113, allocations: 0.7319 MB / 441.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3114, allocations: 33.05 kB / 441.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.3115, allocations: 15.44 kB / 441.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3115, allocations: 0 / 441.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.01662/0.3281, allocations: 7.994 MB / 449.8 MB, free: 3.363 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.945246955379844]