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.00156/0.00156, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, 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.003378/0.3186, allocations: 2.016 MB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.325, allocations: 3.715 MB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.3253, allocations: 11.88 kB / 414.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3258, allocations: 187.1 kB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.326, allocations: 39.59 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.3306, allocations: 1.949 MB / 416.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000595/0.3312, allocations: 498.8 kB / 417.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3313, allocations: 45.06 kB / 417.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.3315, allocations: 187.3 kB / 417.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.3318, allocations: 171.2 kB / 417.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3318, allocations: 20 kB / 417.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.334, allocations: 1.803 MB / 419.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3342, allocations: 115.6 kB / 419.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3343, allocations: 166.9 kB / 419.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.3361, allocations: 1.781 MB / 421.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3361, allocations: 4 kB / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3361, allocations: 0 / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3361, allocations: 0 / 421.4 MB, free: 4.836 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.001546/0.3377, allocations: 0.8958 MB / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3377, allocations: 16.03 kB / 422.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.3378, allocations: 50.67 kB / 422.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.3379, allocations: 48.38 kB / 422.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.3384, allocations: 358.2 kB / 422.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3384, allocations: 24.64 kB / 422.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.3385, allocations: 28.12 kB / 422.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.3389, allocations: 303.7 kB / 423.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.339, allocations: 4 kB / 423.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.339, allocations: 4 kB / 423.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.339, allocations: 8 kB / 423.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.3393, allocations: 144.7 kB / 423.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3404, allocations: 0.6716 MB / 424 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.341, allocations: 330.3 kB / 424.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3412, allocations: 104.8 kB / 424.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3412, allocations: 3.938 kB / 424.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3413, allocations: 34.56 kB / 424.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.3413, allocations: 384 / 424.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006614/0.3419, allocations: 387.9 kB / 424.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.3421, allocations: 363.8 kB / 425.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.3425, allocations: 413.8 kB / 425.6 MB, free: 384 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3425, allocations: 29.7 kB / 425.6 MB, free: 348 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3426, allocations: 196.8 kB / 425.8 MB, free: 148 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.3427, allocations: 82.8 kB / 425.9 MB, free: 64 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3429, allocations: 101.8 kB / 426 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.343, allocations: 366.7 kB / 426.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.3433, allocations: 204.3 kB / 426.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3437, allocations: 318.3 kB / 426.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.3443, allocations: 397.6 kB / 427.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3443, allocations: 0 / 427.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00106/0.3454, allocations: 0.6536 MB / 427.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3454, allocations: 4 kB / 427.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.3454, allocations: 8 kB / 427.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.3459, allocations: 126.5 kB / 428 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3462, allocations: 63.89 kB / 428.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.3497, allocations: 4.558 MB / 432.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3499, allocations: 47.45 kB / 432.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.35, allocations: 16.16 kB / 432.7 MB, free: 8.734 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.000217/0.3502, allocations: 173.8 kB / 432.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.3503, allocations: 39.53 kB / 432.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.3504, allocations: 43.73 kB / 432.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3504, allocations: 7.938 kB / 433 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3504, allocations: 0 / 433 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3504, allocations: 0 / 433 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.3507, allocations: 353.3 kB / 433.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3508, allocations: 3.938 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.3511, allocations: 35.97 kB / 433.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3511, allocations: 4 kB / 433.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3511, allocations: 11.98 kB / 433.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3511, allocations: 3.938 kB / 433.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3511, allocations: 0 / 433.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.3518, allocations: 0.5064 MB / 433.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.3519, allocations: 108.6 kB / 434 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.3519, allocations: 19.92 kB / 434 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3521, allocations: 15.98 kB / 434 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.3522, allocations: 7.984 kB / 434 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3522, allocations: 8 kB / 434 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.3525, allocations: 275.1 kB / 434.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3525, allocations: 0 / 434.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001881/0.3544, allocations: 0.6522 MB / 434.9 MB, free: 6.398 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.002216/0.3566, allocations: 1.632 MB / 436.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.358, allocations: 0.9443 MB / 437.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.358, allocations: 4 kB / 437.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3582, allocations: 123.9 kB / 437.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.3589, allocations: 118.6 kB / 437.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.3646, 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.0006211/0.3652, allocations: 0.838 MB / 443.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.3655, allocations: 70.91 kB / 443.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3657, allocations: 135.4 kB / 443.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3657, allocations: 0 / 443.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/0.414, allocations: 17.35 MB / 460.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.8, allocations: 11.86 kB / 460.6 MB, free: 12.55 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