Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",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.001468/0.001468, allocations: 114.4 kB / 17.06 MB, free: 5.965 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.001998/0.001998, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3062, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002778/0.309, allocations: 1.826 MB / 402 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.3145, allocations: 3.502 MB / 405.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.3147, allocations: 11.94 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.3151, allocations: 131.3 kB / 405.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3153, allocations: 35.7 kB / 405.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.3197, allocations: 1.779 MB / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.3203, allocations: 299.2 kB / 407.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3204, allocations: 40.72 kB / 407.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3207, allocations: 115.5 kB / 407.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3209, allocations: 103.4 kB / 408 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.321, allocations: 12 kB / 408.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.3214, allocations: 143.7 kB / 408.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3215, allocations: 71.77 kB / 408.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3216, allocations: 99.33 kB / 408.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.3222, allocations: 342.9 kB / 408.7 MB, free: 332 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3223, allocations: 3.938 kB / 408.7 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.3223, allocations: 4 kB / 408.7 MB, free: 324 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3223, allocations: 0 / 408.7 MB, free: 324 kB / 318.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.0009025/0.3232, allocations: 0.5685 MB / 409.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3232, allocations: 11.97 kB / 409.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.3233, allocations: 50.73 kB / 409.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.3234, allocations: 32.5 kB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.3238, allocations: 283.8 kB / 409.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3239, allocations: 8 kB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.3239, allocations: 16 kB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.3242, allocations: 204.3 kB / 409.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3243, allocations: 0 / 409.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3243, allocations: 11.94 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3243, allocations: 4 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.3245, allocations: 79.94 kB / 410 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3256, allocations: 0.4886 MB / 410.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.326, allocations: 166.4 kB / 410.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3261, allocations: 60.83 kB / 410.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3261, allocations: 4 kB / 410.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.515e-05/0.3262, allocations: 46.58 kB / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.3262, allocations: 0 / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006249/0.3268, allocations: 217.3 kB / 410.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/0.3271, allocations: 286.7 kB / 411.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.3274, allocations: 284.5 kB / 411.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.3275, allocations: 33.7 kB / 411.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3276, allocations: 152.5 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.3276, allocations: 59.23 kB / 411.7 MB, free: 13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.3277, allocations: 53.7 kB / 411.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3279, allocations: 338.8 kB / 412.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3281, allocations: 99.94 kB / 412.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3283, allocations: 180.5 kB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3287, allocations: 205.5 kB / 412.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.3287, allocations: 0 / 412.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004324/0.3291, allocations: 309.1 kB / 412.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3292, allocations: 8 kB / 412.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.3292, allocations: 3.984 kB / 412.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3292, allocations: 7.938 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3295, allocations: 47.97 kB / 413 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3295, allocations: 4 kB / 413 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3296, allocations: 19.78 kB / 413 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3297, allocations: 11.98 kB / 413 MB, free: 11.68 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.0001412/0.3298, allocations: 153.8 kB / 413.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3299, allocations: 27.62 kB / 413.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.3299, allocations: 30 kB / 413.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3299, allocations: 7.938 kB / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3299, allocations: 8 kB / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.33, allocations: 0 / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.3303, allocations: 261.5 kB / 413.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3303, allocations: 0 / 413.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3305, allocations: 24.09 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3305, allocations: 3.938 kB / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3306, allocations: 11.94 kB / 413.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3306, allocations: 3.938 kB / 413.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3306, allocations: 0 / 413.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.3311, allocations: 335 kB / 413.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.3312, allocations: 108.7 kB / 413.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3312, allocations: 12 kB / 414 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3314, allocations: 4 kB / 414 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.3314, allocations: 11.98 kB / 414 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3315, allocations: 4 kB / 414 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3317, allocations: 195.1 kB / 414.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3317, allocations: 4 kB / 414.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.3321, allocations: 83.98 kB / 414.3 MB, free: 10.32 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.001074/0.3331, allocations: 0.9033 MB / 415.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.3336, allocations: 296.5 kB / 415.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3336, allocations: 0 / 415.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3338, allocations: 63.91 kB / 415.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.3343, allocations: 70.28 kB / 415.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3379, allocations: 2.782 MB / 418.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3383, allocations: 0.7714 MB / 419.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3385, allocations: 49.91 kB / 419.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3386, allocations: 83.41 kB / 419.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3386, allocations: 3.938 kB / 419.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.3666, allocations: 6.597 MB / 425.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.4, allocations: 11.78 kB / 425.9 MB, free: 14.66 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:der(filter_fac3.x[1]),der(filter_fac3.x[2]),der(filter_fac4.x[1]),der(filter_fac4.x[2]),der(filter_fac5.x[1]),der(filter_fac5.x[2]),filter_fac3.A_ripple,filter_fac3.analogFilter,filter_fac3.f_cut,filter_fac3.f_min,filter_fac3.filterType,filter_fac3.gain,filter_fac3.init,filter_fac3.normalized,filter_fac3.nx,filter_fac3.order,filter_fac3.u,filter_fac3.u_nominal,filter_fac3.x[1],filter_fac3.x[2],filter_fac3.x_start[1],filter_fac3.x_start[2],filter_fac3.y,filter_fac3.y_start,filter_fac4.A_ripple,filter_fac4.analogFilter,filter_fac4.f_cut,filter_fac4.f_min,filter_fac4.filterType,filter_fac4.gain,filter_fac4.init,filter_fac4.normalized,filter_fac4.nx,filter_fac4.order,filter_fac4.u,filter_fac4.u_nominal,filter_fac4.x[1],filter_fac4.x[2],filter_fac4.x_start[1],filter_fac4.x_start[2],filter_fac4.y,filter_fac4.y_start,filter_fac5.A_ripple,filter_fac5.analogFilter,filter_fac5.f_cut,filter_fac5.f_min,filter_fac5.filterType,filter_fac5.gain,filter_fac5.init,filter_fac5.normalized,filter_fac5.nx,filter_fac5.order,filter_fac5.u,filter_fac5.u_nominal,filter_fac5.x[1],filter_fac5.x[2],filter_fac5.x_start[1],filter_fac5.x_start[2],filter_fac5.y,filter_fac5.y_start,order,riseTime,step.height,step.offset,step.startTime,step.y,time