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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.1 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 187.1 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.92 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2685, allocations: 49.43 MB / 400.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004278/0.2728, allocations: 1.607 MB / 402.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008955/0.2818, allocations: 3.166 MB / 405.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.2822, allocations: 4 kB / 405.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.2829, allocations: 51.69 kB / 405.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2832, allocations: 11.88 kB / 405.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006974/0.2902, allocations: 1.426 MB / 407 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.2907, allocations: 143.6 kB / 407.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2908, allocations: 34.5 kB / 407.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.291, allocations: 51.84 kB / 407.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2912, allocations: 55.69 kB / 407.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.2912, allocations: 8 kB / 407.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.2942, allocations: 1.382 MB / 408.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2944, allocations: 39.91 kB / 408.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.2945, allocations: 51.67 kB / 408.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2966, allocations: 1.201 MB / 409.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2966, allocations: 3.984 kB / 409.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.621e-06/0.2967, allocations: 4 kB / 409.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.2967, allocations: 0 / 409.9 MB, free: 15.82 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.001435/0.2981, allocations: 0.5613 MB / 410.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2982, allocations: 8.031 kB / 410.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.2983, allocations: 16.84 kB / 410.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2986, allocations: 220 kB / 410.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2987, allocations: 11.94 kB / 410.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.2987, allocations: 7.906 kB / 410.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2991, allocations: 128.9 kB / 410.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2991, allocations: 4 kB / 410.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.2992, allocations: 8 kB / 410.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2992, allocations: 0 / 410.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2995, allocations: 55.95 kB / 410.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/0.3003, allocations: 384.5 kB / 411.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.3009, allocations: 122.6 kB / 411.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3011, allocations: 44.83 kB / 411.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.3011, allocations: 0 / 411.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3012, allocations: 38.69 kB / 411.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.3012, allocations: 0 / 411.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003668/0.3048, allocations: 1.218 MB / 412.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.305, allocations: 132.5 kB / 412.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3052, allocations: 170.4 kB / 413 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3053, allocations: 34.08 kB / 413.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.3054, allocations: 104.5 kB / 413.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.3055, allocations: 63.17 kB / 413.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3056, allocations: 45.7 kB / 413.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3058, allocations: 330.8 kB / 413.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3061, allocations: 91.94 kB / 413.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.3065, allocations: 139.3 kB / 413.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.307, allocations: 204.9 kB / 414 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3071, allocations: 0 / 414 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00092/0.308, allocations: 314 kB / 414.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.308, allocations: 8 kB / 414.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.3081, allocations: 0 / 414.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.3084, allocations: 44.81 kB / 414.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3087, allocations: 35.92 kB / 414.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.3106, allocations: 1.515 MB / 415.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3108, allocations: 12.02 kB / 416 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.3108, allocations: 4 kB / 416 MB, free: 9.262 MB / 334.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.0001952/0.311, allocations: 141.8 kB / 416.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3111, allocations: 15.81 kB / 416.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.3112, allocations: 21.53 kB / 416.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3112, allocations: 7.938 kB / 416.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3113, allocations: 0 / 416.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3113, allocations: 3.984 kB / 416.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.3117, allocations: 237.6 kB / 416.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3117, allocations: 0 / 416.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.3123, allocations: 59.89 kB / 416.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3123, allocations: 0 / 416.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.3123, allocations: 4 kB / 416.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3124, allocations: 7.938 kB / 416.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3124, allocations: 0 / 416.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.3133, allocations: 415.1 kB / 416.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.3134, allocations: 85.02 kB / 416.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3134, allocations: 0 / 416.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3137, allocations: 19.91 kB / 417 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.3138, allocations: 11.98 kB / 417 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3138, allocations: 8 kB / 417 MB, free: 8.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.314, allocations: 128.2 kB / 417.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.314, allocations: 0 / 417.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0024/0.3164, allocations: 0.5156 MB / 417.6 MB, free: 7.512 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.002071/0.3185, allocations: 0.5563 MB / 418.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3196, allocations: 397.8 kB / 418.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3196, allocations: 4 kB / 418.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.3199, allocations: 87.19 kB / 418.6 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.3205, allocations: 28.03 kB / 418.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3217, allocations: 397.8 kB / 419.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.3222, allocations: 0.7319 MB / 419.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.3224, allocations: 29.06 kB / 419.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.3225, allocations: 15.44 kB / 419.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3225, allocations: 0 / 419.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Templates: time 0.01403/0.3366, allocations: 7.914 MB / 427.8 MB, free: 13.3 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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) 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) Reference file matches