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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001482/0.001482, allocations: 187 kB / 18.66 MB, free: 4.398 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.637/1.637, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001786/0.001786, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1098, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002851/0.1127, allocations: 1.986 MB / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2144/0.3271, allocations: 3.721 MB / 380.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3273, allocations: 13.19 kB / 380.4 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.3278, allocations: 177.9 kB / 380.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3279, allocations: 46.69 kB / 380.6 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.3326, allocations: 1.933 MB / 382.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006737/0.3333, allocations: 0.4899 MB / 383 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3335, allocations: 51.56 kB / 383 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3337, allocations: 180.7 kB / 383.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3339, allocations: 174.4 kB / 383.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.334, allocations: 24.31 kB / 383.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.3367, allocations: 1.782 MB / 385.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.3369, allocations: 122.6 kB / 385.3 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.3371, allocations: 161.5 kB / 385.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.3395, allocations: 1.775 MB / 387.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3396, allocations: 4.906 kB / 387.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3396, allocations: 0 / 387.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3396, allocations: 0 / 387.3 MB, free: 8.09 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.00183/0.3414, allocations: 0.8968 MB / 388.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.3415, allocations: 9.906 kB / 388.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.3416, allocations: 53.27 kB / 388.2 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.3417, allocations: 46.66 kB / 388.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.3422, allocations: 350.1 kB / 388.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3422, allocations: 17.28 kB / 388.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.3423, allocations: 30.05 kB / 388.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.3428, allocations: 311.4 kB / 389 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3429, allocations: 0 / 389 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3429, allocations: 7.344 kB / 389 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.3429, allocations: 3.75 kB / 389 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.3432, allocations: 152.1 kB / 389.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3445, allocations: 0.6697 MB / 389.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.3452, allocations: 323.5 kB / 390.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3454, allocations: 111.9 kB / 390.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3454, allocations: 5.188 kB / 390.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3455, allocations: 42.98 kB / 390.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.3455, allocations: 0 / 390.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008404/0.3463, allocations: 381.2 kB / 390.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.3465, allocations: 364.6 kB / 391 MB, free: 5.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.347, allocations: 409.7 kB / 391.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3471, allocations: 33.8 kB / 391.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3472, allocations: 202.4 kB / 391.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3473, allocations: 80.27 kB / 391.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3474, allocations: 101.7 kB / 391.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3476, allocations: 361.4 kB / 392.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3479, allocations: 205.1 kB / 392.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.3484, allocations: 326.6 kB / 392.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.349, allocations: 392.8 kB / 393 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.349, allocations: 1.25 kB / 393 MB, free: 4.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001106/0.3501, allocations: 0.6514 MB / 393.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3502, allocations: 4.812 kB / 393.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.3502, allocations: 11.83 kB / 393.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.3507, allocations: 132 kB / 393.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.351, allocations: 58.02 kB / 393.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.354, allocations: 4.566 MB / 398.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3542, allocations: 47.03 kB / 398.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3542, allocations: 14.66 kB / 398.5 MB, free: 15.77 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 (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.0002115/0.3545, allocations: 173.5 kB / 398.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.3545, allocations: 41.12 kB / 398.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.3546, allocations: 47.11 kB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3546, allocations: 2.469 kB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3546, allocations: 3.938 kB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3546, allocations: 1.859 kB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.3551, allocations: 348 kB / 399.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3551, allocations: 0 / 399.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.3554, allocations: 41.3 kB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3554, allocations: 4.891 kB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.3555, allocations: 8.188 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3555, allocations: 5.562 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/0.3555, allocations: 3.938 kB / 399.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.3561, allocations: 0.5053 MB / 399.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.3562, allocations: 112.3 kB / 399.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.3563, allocations: 14.38 kB / 399.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3565, allocations: 21.23 kB / 399.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.3565, allocations: 8.781 kB / 399.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3566, allocations: 10.56 kB / 399.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.3568, allocations: 274.1 kB / 400.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3568, allocations: 1.375 kB / 400.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00305/0.3599, allocations: 0.6478 MB / 400.8 MB, free: 14.73 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.002751/0.3627, allocations: 1.605 MB / 402.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3642, allocations: 0.957 MB / 403.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3642, allocations: 1.344 kB / 403.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.3644, allocations: 123.4 kB / 403.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.365, allocations: 121.9 kB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.3712, allocations: 4.483 MB / 408.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.3716, allocations: 0.8371 MB / 408.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3719, allocations: 68.38 kB / 409 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3721, allocations: 132 kB / 409.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3721, allocations: 0 / 409.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.4439, allocations: 17.27 MB / 426.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.63, allocations: 8 kB / 426.4 MB, free: 9.93 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > 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