Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001143, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003125/0.3219, allocations: 2.019 MB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.3277, allocations: 3.731 MB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.3279, allocations: 11.88 kB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.3285, allocations: 171.1 kB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3286, allocations: 51.56 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.3327, allocations: 1.944 MB / 416.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.3333, allocations: 494.8 kB / 417.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3335, allocations: 49.05 kB / 417.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3337, allocations: 191.3 kB / 417.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3339, allocations: 175.1 kB / 417.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.3339, allocations: 24 kB / 417.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.3361, allocations: 1.795 MB / 419.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3363, allocations: 119.6 kB / 419.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3364, allocations: 162.9 kB / 419.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.3381, allocations: 1.781 MB / 421.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3381, allocations: 0 / 421.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3381, allocations: 0 / 421.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3381, allocations: 0 / 421.4 MB, free: 4.828 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001481/0.3396, allocations: 0.8997 MB / 422.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3396, allocations: 12.03 kB / 422.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.3397, allocations: 46.73 kB / 422.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.3398, allocations: 48.38 kB / 422.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.3402, allocations: 358.2 kB / 422.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3403, allocations: 12.66 kB / 422.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3403, allocations: 36.11 kB / 422.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.3408, allocations: 311 kB / 423.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3408, allocations: 3.984 kB / 423.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3408, allocations: 8 kB / 423.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3408, allocations: 4 kB / 423.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.3411, allocations: 144.7 kB / 423.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3421, allocations: 0.6677 MB / 424 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.3427, allocations: 330.5 kB / 424.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3429, allocations: 112.7 kB / 424.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3429, allocations: 4 kB / 424.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.343, allocations: 34.56 kB / 424.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.343, allocations: 0 / 424.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006348/0.3436, allocations: 378.3 kB / 424.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.3438, allocations: 371.8 kB / 425.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.3441, allocations: 409.8 kB / 425.6 MB, free: 380 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3442, allocations: 37.7 kB / 425.6 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3443, allocations: 192.8 kB / 425.8 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.3444, allocations: 82.8 kB / 425.9 MB, free: 56 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3445, allocations: 101.8 kB / 426 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3447, allocations: 354.7 kB / 426.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.345, allocations: 212.2 kB / 426.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3454, allocations: 318.5 kB / 426.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.3459, allocations: 389.5 kB / 427.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3459, allocations: 0 / 427.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001009/0.3469, allocations: 0.6536 MB / 427.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3469, allocations: 4 kB / 427.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.347, allocations: 15.92 kB / 427.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.3474, allocations: 126.5 kB / 428 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3477, allocations: 67.91 kB / 428.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.3509, allocations: 4.554 MB / 432.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3511, allocations: 47.47 kB / 432.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3511, allocations: 12 kB / 432.7 MB, free: 8.73 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 (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.0001814/0.3513, allocations: 185.7 kB / 432.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.3514, allocations: 35.53 kB / 432.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3515, allocations: 43.75 kB / 432.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3515, allocations: 7.938 kB / 432.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3515, allocations: 0 / 432.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3515, allocations: 3.984 kB / 433 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.3518, allocations: 345.3 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3518, allocations: 0 / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3521, allocations: 51.91 kB / 433.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3521, allocations: 4 kB / 433.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3522, allocations: 8 kB / 433.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3522, allocations: 3.938 kB / 433.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3522, allocations: 0 / 433.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.3528, allocations: 0.4981 MB / 433.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3529, allocations: 116.6 kB / 434 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.3529, allocations: 15.94 kB / 434 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3531, allocations: 15.98 kB / 434 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.3531, allocations: 11.98 kB / 434 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3532, allocations: 11.92 kB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3534, allocations: 271.1 kB / 434.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.3534, allocations: 0 / 434.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00193/0.3554, allocations: 0.66 MB / 434.9 MB, free: 6.383 MB / 350.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.002254/0.3576, allocations: 1.613 MB / 436.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.359, allocations: 0.956 MB / 437.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.359, allocations: 0 / 437.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3592, allocations: 119.9 kB / 437.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3598, allocations: 114.8 kB / 437.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.3655, allocations: 4.493 MB / 442.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3659, allocations: 0.8418 MB / 443.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3661, allocations: 66.92 kB / 443.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.3663, allocations: 131.4 kB / 443.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3663, allocations: 0 / 443.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.4112, allocations: 17.37 MB / 460.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.61, allocations: 15.11 kB / 460.7 MB, free: 12.54 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches