Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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 3.2.3+maint.om/package.mo", uses=false) 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.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 106.1 kB / 18.4 MB, free: 4.66 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.001831/0.001831, allocations: 190.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003484/0.106, allocations: 1.995 MB / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1994/0.3054, allocations: 3.705 MB / 381.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3056, allocations: 8.656 kB / 381.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.3062, allocations: 182.8 kB / 381.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3063, allocations: 48.09 kB / 381.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004382/0.3107, allocations: 1.939 MB / 383.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.3113, allocations: 0.4964 MB / 384.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3114, allocations: 50.2 kB / 384.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.3116, allocations: 177.2 kB / 384.4 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.3119, allocations: 176.7 kB / 384.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3119, allocations: 23.31 kB / 384.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.3142, allocations: 1.776 MB / 386.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3144, allocations: 125.4 kB / 386.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3145, allocations: 165.6 kB / 386.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.3165, allocations: 1.776 MB / 388.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3165, allocations: 0.6562 kB / 388.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3165, allocations: 1.156 kB / 388.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3165, allocations: 0 / 388.4 MB, free: 8.414 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001518/0.318, allocations: 0.903 MB / 389.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3181, allocations: 10.25 kB / 389.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.3182, allocations: 45.88 kB / 389.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3185, allocations: 348.8 kB / 389.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3186, allocations: 15.66 kB / 389.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.3186, allocations: 32.3 kB / 389.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.319, allocations: 313.4 kB / 390.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3191, allocations: 0 / 390.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3191, allocations: 6.375 kB / 390.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3191, allocations: 8.5 kB / 390.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.3194, allocations: 153.7 kB / 390.2 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3204, allocations: 0.6634 MB / 390.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.321, allocations: 318.8 kB / 391.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3212, allocations: 108.1 kB / 391.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3212, allocations: 2.5 kB / 391.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3213, allocations: 46.42 kB / 391.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.3213, allocations: 0 / 391.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006637/0.3219, allocations: 381.4 kB / 391.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.322, allocations: 365.7 kB / 392.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.3224, allocations: 408.7 kB / 392.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3225, allocations: 32.36 kB / 392.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3226, allocations: 197.8 kB / 392.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.3227, allocations: 86.34 kB / 392.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3228, allocations: 104.1 kB / 392.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.3229, allocations: 360.9 kB / 393.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.3232, allocations: 202.2 kB / 393.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.3236, allocations: 325.7 kB / 393.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.3242, allocations: 392 kB / 394.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3242, allocations: 3.812 kB / 394.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001077/0.3253, allocations: 0.6498 MB / 394.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3253, allocations: 6.812 kB / 394.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.3253, allocations: 6.906 kB / 394.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.3257, allocations: 132.5 kB / 395 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.326, allocations: 61.69 kB / 395 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.3285, allocations: 4.56 MB / 399.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3287, allocations: 53.14 kB / 399.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.3288, allocations: 14.61 kB / 399.7 MB, free: 136 kB / 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.3289, allocations: 168 kB / 399.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.329, allocations: 37.45 kB / 399.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.3291, allocations: 47.86 kB / 399.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3291, allocations: 7.219 kB / 399.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3291, allocations: 1.188 kB / 399.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3291, allocations: 5.531 kB / 399.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3296, allocations: 346.2 kB / 400.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3296, allocations: 4.141 kB / 400.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3299, allocations: 41.64 kB / 400.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3299, allocations: 1.953 kB / 400.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3299, allocations: 10.95 kB / 400.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3299, allocations: 1.125 kB / 400.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3299, allocations: 11.7 kB / 400.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.3306, allocations: 0.5002 MB / 400.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.3307, allocations: 113.5 kB / 400.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.3308, allocations: 13.06 kB / 400.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.331, allocations: 18.14 kB / 401 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.331, allocations: 10.61 kB / 401 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.331, allocations: 8.781 kB / 401 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.3313, allocations: 271.9 kB / 401.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 5.375 kB / 401.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002777/0.3341, allocations: 0.65 MB / 401.9 MB, free: 15.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001569/0.3357, allocations: 0.6651 MB / 402.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.3371, allocations: 0.9522 MB / 403.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3371, allocations: 1.281 kB / 403.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.3373, allocations: 120.5 kB / 403.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.3379, allocations: 116.8 kB / 403.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3394, allocations: 0.9529 MB / 404.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3398, allocations: 0.841 MB / 405.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.3399, allocations: 29.22 kB / 405.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3399, allocations: 0 / 405.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Templates: time 0.01794/0.3579, allocations: 12.12 MB / 417.7 MB, free: 3.973 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches