Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001944, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002991/0.3058, allocations: 1.848 MB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.3123, allocations: 3.546 MB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.3125, allocations: 7.938 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.3131, allocations: 131.3 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3132, allocations: 39.64 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.3181, allocations: 1.774 MB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.3186, allocations: 299.2 kB / 416.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3188, allocations: 44.59 kB / 416.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.319, allocations: 111.6 kB / 416.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3192, allocations: 107.4 kB / 416.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.3192, allocations: 12 kB / 416.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.3196, allocations: 147.7 kB / 416.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3197, allocations: 75.75 kB / 416.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3198, allocations: 99.33 kB / 417 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.3203, allocations: 334.6 kB / 417.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3204, allocations: 0 / 417.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3204, allocations: 0 / 417.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3204, allocations: 0 / 417.3 MB, free: 8.996 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001062/0.3214, allocations: 0.5955 MB / 417.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3215, allocations: 8.031 kB / 417.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.3216, allocations: 38.75 kB / 417.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.3217, allocations: 36.73 kB / 418 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.3222, allocations: 292.4 kB / 418.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3222, allocations: 12.31 kB / 418.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.3223, allocations: 19.95 kB / 418.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3226, allocations: 194.1 kB / 418.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3226, allocations: 3.938 kB / 418.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3227, allocations: 8 kB / 418.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3227, allocations: 0 / 418.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.3229, allocations: 99.8 kB / 418.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.3237, allocations: 480.6 kB / 419.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.324, allocations: 174.4 kB / 419.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3241, allocations: 56.83 kB / 419.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3242, allocations: 8 kB / 419.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.3242, allocations: 34.56 kB / 419.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3242, allocations: 0 / 419.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004988/0.3247, allocations: 221.4 kB / 419.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.3249, allocations: 290.7 kB / 419.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3253, allocations: 284.5 kB / 420.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3253, allocations: 25.7 kB / 420.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3255, allocations: 168.5 kB / 420.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.3255, allocations: 43.59 kB / 420.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3257, allocations: 65.69 kB / 420.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3259, allocations: 334.8 kB / 420.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3261, allocations: 103.9 kB / 420.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.3264, allocations: 184.5 kB / 421 MB, free: 4.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.3268, allocations: 217.3 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3268, allocations: 0 / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004836/0.3273, allocations: 297.6 kB / 421.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3273, allocations: 7.984 kB / 421.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.3273, allocations: 8 kB / 421.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3274, allocations: 8 kB / 421.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3276, allocations: 51.91 kB / 421.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3276, allocations: 7.922 kB / 421.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3278, allocations: 27.83 kB / 421.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3278, allocations: 8 kB / 421.6 MB, free: 4.316 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.3279, allocations: 146.1 kB / 421.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.328, allocations: 31.75 kB / 421.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3281, allocations: 29.97 kB / 421.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3281, allocations: 4 kB / 421.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3281, allocations: 7.938 kB / 421.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3281, allocations: 3.984 kB / 421.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.3284, allocations: 265.5 kB / 422.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3284, allocations: 0 / 422.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3286, allocations: 23.98 kB / 422.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3286, allocations: 0 / 422.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3286, allocations: 11.98 kB / 422.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3287, allocations: 0 / 422.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3287, allocations: 3.938 kB / 422.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3292, allocations: 338.7 kB / 422.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3293, allocations: 100.9 kB / 422.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.3293, allocations: 8.062 kB / 422.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3295, allocations: 7.984 kB / 422.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3295, allocations: 15.92 kB / 422.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3296, allocations: 4 kB / 422.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3298, allocations: 195.1 kB / 422.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3298, allocations: 4 kB / 422.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.3302, allocations: 75.88 kB / 422.9 MB, free: 2.973 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.001035/0.3312, allocations: 0.9073 MB / 423.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.3317, allocations: 288.9 kB / 424.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3317, allocations: 0 / 424.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3319, allocations: 64 kB / 424.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.3324, allocations: 90.27 kB / 424.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.3362, allocations: 2.781 MB / 427 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3366, allocations: 0.7752 MB / 427.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.3367, allocations: 41.92 kB / 427.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3369, allocations: 79.41 kB / 427.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3369, allocations: 3.938 kB / 427.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.3677, allocations: 6.532 MB / 434.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.82, allocations: 7.875 kB / 434.4 MB, free: 7.348 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches