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.001086/0.001086, allocations: 114.5 kB / 17.73 MB, free: 5.328 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.001061/0.001061, allocations: 187 kB / 18.66 MB, free: 4.402 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.349/1.349, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001324/0.001324, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.09055, allocations: 46.63 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003408/0.094, allocations: 1.99 MB / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1819/0.2759, allocations: 3.717 MB / 380.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.2761, allocations: 13.12 kB / 380.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.2767, allocations: 177.3 kB / 380.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.2768, allocations: 50.14 kB / 380.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.282, allocations: 1.926 MB / 382.5 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.2826, allocations: 0.4943 MB / 383 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2828, allocations: 50.36 kB / 383 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.283, allocations: 184.8 kB / 383.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.2832, allocations: 172.8 kB / 383.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.2833, allocations: 23.25 kB / 383.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.2861, allocations: 1.783 MB / 385.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.2863, allocations: 115.6 kB / 385.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2865, allocations: 166.3 kB / 385.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.2888, allocations: 1.775 MB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2888, allocations: 1.125 kB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2888, allocations: 0 / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.2888, allocations: 4 kB / 387.3 MB, free: 8.098 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.001904/0.2907, allocations: 0.8934 MB / 388.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2908, allocations: 9.844 kB / 388.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.2908, allocations: 60.86 kB / 388.2 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.2909, allocations: 46.53 kB / 388.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.2914, allocations: 351.3 kB / 388.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2914, allocations: 16.22 kB / 388.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.2915, allocations: 25.8 kB / 388.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.292, allocations: 311.3 kB / 389 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.292, allocations: 0.75 kB / 389 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.2921, allocations: 10.34 kB / 389 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2921, allocations: 3.688 kB / 389 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2924, allocations: 152.9 kB / 389.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2935, allocations: 0.6675 MB / 389.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.2941, allocations: 327.2 kB / 390.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2943, allocations: 107.4 kB / 390.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2944, allocations: 2.344 kB / 390.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2944, allocations: 38.44 kB / 390.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.714e-06/0.2944, allocations: 384 / 390.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006953/0.2951, allocations: 389 kB / 390.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.2952, allocations: 366.7 kB / 391 MB, free: 5.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.2956, allocations: 408.2 kB / 391.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2957, allocations: 37.11 kB / 391.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2958, allocations: 195.8 kB / 391.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.2959, allocations: 83.91 kB / 391.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.296, allocations: 99.66 kB / 391.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.2961, allocations: 360.9 kB / 392.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.2965, allocations: 207.2 kB / 392.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.2969, allocations: 323.3 kB / 392.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.2974, allocations: 396.6 kB / 393 MB, free: 4.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2975, allocations: 0 / 393 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001119/0.2986, allocations: 0.6527 MB / 393.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2986, allocations: 5.672 kB / 393.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.2987, allocations: 7.734 kB / 393.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.2991, allocations: 133.5 kB / 393.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.2994, allocations: 61.8 kB / 393.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.3021, allocations: 4.555 MB / 398.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3023, allocations: 47.38 kB / 398.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.3023, allocations: 13.94 kB / 398.5 MB, free: 15.78 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.0002317/0.3026, allocations: 178.4 kB / 398.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.3026, allocations: 37.62 kB / 398.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3027, allocations: 46.47 kB / 398.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3027, allocations: 3.875 kB / 398.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3027, allocations: 3.938 kB / 398.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3028, allocations: 1.078 kB / 398.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.3032, allocations: 348.2 kB / 399.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3032, allocations: 9.562 kB / 399.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.3035, allocations: 39.83 kB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3035, allocations: 5.094 kB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3035, allocations: 12.28 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3035, allocations: 1.5 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3035, allocations: 3.938 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.3042, allocations: 0.5008 MB / 399.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.3042, allocations: 115.6 kB / 399.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.3043, allocations: 14.72 kB / 399.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3045, allocations: 14.89 kB / 399.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.3046, allocations: 13.16 kB / 399.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.3046, allocations: 10.75 kB / 399.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.3049, allocations: 269.4 kB / 400.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3049, allocations: 0 / 400.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003512/0.3084, allocations: 0.6477 MB / 400.8 MB, free: 14.74 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.002844/0.3113, allocations: 1.614 MB / 402.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3128, allocations: 0.9598 MB / 403.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3128, allocations: 1.062 kB / 403.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.313, allocations: 120.2 kB / 403.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.3137, allocations: 111.6 kB / 403.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.3197, allocations: 4.497 MB / 408.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.3202, allocations: 0.8376 MB / 408.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.3204, allocations: 61.52 kB / 409 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3206, allocations: 132.5 kB / 409.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3206, allocations: 0 / 409.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.3678, allocations: 17.27 MB / 426.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.91, allocations: 8.062 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