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.001439/0.001439, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 50.53 MB / 408.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003039/0.314, allocations: 1.853 MB / 410.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00574/0.3198, allocations: 3.54 MB / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.3201, allocations: 7.938 kB / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.3206, allocations: 139.3 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3208, allocations: 35.7 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.3253, allocations: 1.778 MB / 416.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.3258, allocations: 299.2 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.326, allocations: 40.66 kB / 416.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3263, allocations: 119.5 kB / 416.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3265, allocations: 103.4 kB / 416.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.3265, allocations: 12 kB / 416.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.3269, allocations: 143.7 kB / 416.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.327, allocations: 71.69 kB / 416.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3271, allocations: 107.3 kB / 417 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.3277, allocations: 334.9 kB / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3277, allocations: 0 / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3277, allocations: 0 / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3277, allocations: 0 / 417.3 MB, free: 9.145 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.001063/0.3288, allocations: 0.5802 MB / 417.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.3289, allocations: 12.03 kB / 417.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.064e-05/0.329, allocations: 46.75 kB / 417.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.3291, allocations: 32.56 kB / 418 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.3296, allocations: 280.2 kB / 418.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3297, allocations: 16.31 kB / 418.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.3297, allocations: 15.98 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.3301, allocations: 202.1 kB / 418.5 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3301, allocations: 3.938 kB / 418.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3302, allocations: 0 / 418.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3302, allocations: 4 kB / 418.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.3304, allocations: 87.88 kB / 418.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.3313, allocations: 496.5 kB / 419 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.3316, allocations: 166.4 kB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3317, allocations: 56.83 kB / 419.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3318, allocations: 0 / 419.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3318, allocations: 42.56 kB / 419.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.3318, allocations: 0 / 419.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004854/0.3323, allocations: 225.2 kB / 419.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3324, allocations: 290.7 kB / 419.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.3327, allocations: 284.4 kB / 420.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3328, allocations: 33.7 kB / 420.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3329, allocations: 156.4 kB / 420.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.333, allocations: 51.36 kB / 420.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.333, allocations: 61.69 kB / 420.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3332, allocations: 338.8 kB / 420.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3334, allocations: 95.94 kB / 420.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3336, allocations: 180.5 kB / 421 MB, free: 5.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.334, allocations: 213.4 kB / 421.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.334, allocations: 4 kB / 421.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004791/0.3344, allocations: 301.4 kB / 421.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3345, allocations: 4 kB / 421.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.3345, allocations: 7.984 kB / 421.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3345, allocations: 0 / 421.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3348, allocations: 51.91 kB / 421.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3348, allocations: 7.938 kB / 421.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.335, allocations: 31.67 kB / 421.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.335, allocations: 8 kB / 421.6 MB, free: 4.492 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.000147/0.3351, allocations: 146.1 kB / 421.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3352, allocations: 27.66 kB / 421.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.3353, allocations: 29.97 kB / 421.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3353, allocations: 4 kB / 421.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3353, allocations: 3.938 kB / 421.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3353, allocations: 7.984 kB / 421.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3356, allocations: 261.5 kB / 422.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3356, allocations: 7.938 kB / 422.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3358, allocations: 23.98 kB / 422.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.3358, allocations: 4 kB / 422.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3359, allocations: 3.984 kB / 422.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3359, allocations: 0 / 422.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3359, allocations: 7.938 kB / 422.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.3364, allocations: 338.4 kB / 422.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.3364, allocations: 104.7 kB / 422.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3365, allocations: 8.062 kB / 422.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3366, allocations: 11.98 kB / 422.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3367, allocations: 11.92 kB / 422.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3367, allocations: 4 kB / 422.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.3369, allocations: 199.1 kB / 422.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3369, allocations: 0 / 422.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.3372, allocations: 68 kB / 422.8 MB, free: 3.152 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.0009075/0.3381, allocations: 0.9073 MB / 423.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.3386, allocations: 284.9 kB / 424 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3386, allocations: 8 kB / 424 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3387, allocations: 67.91 kB / 424.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.3392, allocations: 83.53 kB / 424.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.3426, allocations: 2.771 MB / 426.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.343, allocations: 0.7714 MB / 427.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3431, allocations: 45.92 kB / 427.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3432, allocations: 83.41 kB / 427.8 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3432, allocations: 0 / 427.8 MB, free: 14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3717, allocations: 6.609 MB / 434.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.257, allocations: 8.688 kB / 434.5 MB, free: 7.465 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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