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.00107/0.00107, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.11 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07547/0.07665, allocations: 50.52 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002862/0.07954, allocations: 2.02 MB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.0849, allocations: 3.711 MB / 363.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.08512, allocations: 11.88 kB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.08559, allocations: 183.1 kB / 363.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.08577, allocations: 47.52 kB / 363.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.08979, allocations: 1.944 MB / 365.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.09032, allocations: 0.491 MB / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.09046, allocations: 57 kB / 366 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.09067, allocations: 171.4 kB / 366.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.0909, allocations: 175.1 kB / 366.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.09097, allocations: 24 kB / 366.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.09312, allocations: 1.752 MB / 368.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.09329, allocations: 119.6 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.09345, allocations: 162.9 kB / 368.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.09515, allocations: 1.773 MB / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09517, allocations: 0 / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09517, allocations: 0 / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.09519, allocations: 4 kB / 370.2 MB, free: 1.383 MB / 302.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.00153/0.09672, allocations: 0.892 MB / 371.1 MB, free: 448 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.09677, allocations: 8.031 kB / 371.1 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.09684, allocations: 62.73 kB / 371.2 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.09694, allocations: 48.38 kB / 371.2 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1335/0.2304, allocations: 345.2 kB / 371.5 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2305, allocations: 13.94 kB / 371.5 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.2306, allocations: 31.59 kB / 371.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.2311, allocations: 305.3 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.2311, allocations: 0 / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.2311, allocations: 6.156 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2311, allocations: 4.062 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.2314, allocations: 149.5 kB / 372 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2326, allocations: 0.6733 MB / 372.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.2332, allocations: 319 kB / 373 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2334, allocations: 105.1 kB / 373.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2334, allocations: 3.156 kB / 373.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2335, allocations: 49.69 kB / 373.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2335, allocations: 2.531 kB / 373.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006872/0.2342, allocations: 378.5 kB / 373.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.2342, allocations: 369.3 kB / 373.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.2346, allocations: 406 kB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.2347, allocations: 32.08 kB / 374.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2348, allocations: 205.7 kB / 374.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.2348, allocations: 83.59 kB / 374.6 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.235, allocations: 97.3 kB / 374.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.2351, allocations: 356.9 kB / 375.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.2354, allocations: 205.6 kB / 375.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.2358, allocations: 324 kB / 375.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.2363, allocations: 397.1 kB / 376 MB, free: 17.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2364, allocations: 0 / 376 MB, free: 17.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001008/0.2374, allocations: 0.6516 MB / 376.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2374, allocations: 5.5 kB / 376.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.2374, allocations: 7.328 kB / 376.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.2378, allocations: 129.2 kB / 376.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.2381, allocations: 71.27 kB / 376.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.2406, allocations: 4.548 MB / 381.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2408, allocations: 52.2 kB / 381.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.2408, allocations: 9.469 kB / 381.4 MB, free: 12.49 MB / 302.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.0001565/0.241, allocations: 182.5 kB / 381.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.2411, allocations: 41.08 kB / 381.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.2411, allocations: 46.06 kB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2412, allocations: 2.625 kB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2412, allocations: 1 kB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2412, allocations: 1.359 kB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.2415, allocations: 352.5 kB / 382 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2415, allocations: 1.844 kB / 382 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.2418, allocations: 45.14 kB / 382.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2418, allocations: 1.062 kB / 382.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.2418, allocations: 11.09 kB / 382.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2419, allocations: 1.094 kB / 382.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2419, allocations: 2.234 kB / 382.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.2425, allocations: 0.5056 MB / 382.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2425, allocations: 112.7 kB / 382.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.2426, allocations: 16.3 kB / 382.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2428, allocations: 14.64 kB / 382.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2428, allocations: 14.45 kB / 382.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2428, allocations: 6.219 kB / 382.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.2431, allocations: 274.8 kB / 383 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2431, allocations: 1.469 kB / 383 MB, free: 11.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001583/0.2447, allocations: 0.6553 MB / 383.7 MB, free: 11.48 MB / 302.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.002058/0.2468, allocations: 1.608 MB / 385.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.248, allocations: 0.9863 MB / 386.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.248, allocations: 1.156 kB / 386.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2482, allocations: 122.6 kB / 386.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.2488, allocations: 123.3 kB / 386.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.2543, allocations: 4.522 MB / 391.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2546, allocations: 0.839 MB / 391.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.2548, allocations: 71.98 kB / 392 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.255, allocations: 130.9 kB / 392.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.255, allocations: 3.938 kB / 392.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.2918, allocations: 17.09 MB / 409.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.313/9.605, allocations: 11.45 kB / 409.2 MB, free: 9.809 MB / 318.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv","/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