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.001167/0.001167, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2873, allocations: 50.55 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00268/0.29, allocations: 1.849 MB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.2951, allocations: 3.54 MB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.2952, allocations: 11.88 kB / 414.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.2957, allocations: 135.4 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.2958, allocations: 35.64 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.2996, allocations: 1.77 MB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.3, allocations: 307.1 kB / 416.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3001, allocations: 32.73 kB / 416.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3004, allocations: 123.5 kB / 416.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3006, allocations: 103.4 kB / 416.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3006, allocations: 12 kB / 416.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.3009, allocations: 139.7 kB / 416.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.301, allocations: 75.75 kB / 416.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3011, allocations: 99.34 kB / 417 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.3015, allocations: 334.9 kB / 417.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3016, allocations: 4 kB / 417.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3016, allocations: 0 / 417.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3016, allocations: 0 / 417.3 MB, free: 8.988 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.0008294/0.3024, allocations: 0.5763 MB / 417.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3025, allocations: 12.03 kB / 417.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.3025, allocations: 50.73 kB / 417.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.3026, allocations: 32.5 kB / 418 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.303, allocations: 276.3 kB / 418.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.303, allocations: 12.31 kB / 418.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.3031, allocations: 16 kB / 418.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.3034, allocations: 206 kB / 418.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3034, allocations: 4 kB / 418.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3034, allocations: 4 kB / 418.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3034, allocations: 4 kB / 418.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3036, allocations: 91.86 kB / 418.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3044, allocations: 496.5 kB / 419 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.3047, allocations: 162.4 kB / 419.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3048, allocations: 56.83 kB / 419.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3048, allocations: 7.984 kB / 419.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3048, allocations: 42.56 kB / 419.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3048, allocations: 0 / 419.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004584/0.3053, allocations: 225.2 kB / 419.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.3054, allocations: 282.7 kB / 419.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.3057, allocations: 288.4 kB / 420.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.3057, allocations: 33.7 kB / 420.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3059, allocations: 164.4 kB / 420.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3059, allocations: 47.36 kB / 420.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.306, allocations: 53.7 kB / 420.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3061, allocations: 338.8 kB / 420.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3063, allocations: 99.94 kB / 420.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3065, allocations: 188.4 kB / 421 MB, free: 4.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.3068, allocations: 205.5 kB / 421.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3068, allocations: 0 / 421.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004354/0.3072, allocations: 305.4 kB / 421.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3073, allocations: 8 kB / 421.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.3073, allocations: 7.984 kB / 421.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3073, allocations: 0 / 421.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.3076, allocations: 51.91 kB / 421.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3076, allocations: 7.938 kB / 421.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3077, allocations: 23.69 kB / 421.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.3077, allocations: 12.09 kB / 421.6 MB, free: 4.332 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.0001286/0.3079, allocations: 157.9 kB / 421.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.3079, allocations: 23.72 kB / 421.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.308, allocations: 25.97 kB / 421.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.308, allocations: 4 kB / 421.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.308, allocations: 7.938 kB / 421.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.308, allocations: 0 / 421.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3083, allocations: 265.5 kB / 422.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3083, allocations: 0 / 422.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.3085, allocations: 23.98 kB / 422.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3085, allocations: 0 / 422.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3085, allocations: 8 kB / 422.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3085, allocations: 0 / 422.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3085, allocations: 3.938 kB / 422.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.309, allocations: 342.6 kB / 422.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.309, allocations: 104.7 kB / 422.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.3091, allocations: 8.062 kB / 422.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3092, allocations: 11.98 kB / 422.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.3093, allocations: 7.938 kB / 422.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3093, allocations: 4 kB / 422.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.3095, allocations: 195.1 kB / 422.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 0 / 422.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.3098, allocations: 83.98 kB / 422.8 MB, free: 2.988 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.0008399/0.3107, allocations: 0.8996 MB / 423.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.3111, allocations: 292.9 kB / 424 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3111, allocations: 4 kB / 424 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3113, allocations: 63.91 kB / 424.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.3117, allocations: 78.81 kB / 424.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.3151, allocations: 2.778 MB / 426.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3154, allocations: 0.7753 MB / 427.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.3156, allocations: 41.92 kB / 427.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3157, allocations: 83.41 kB / 427.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3157, allocations: 0 / 427.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3413, allocations: 6.607 MB / 434.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.153, allocations: 5.438 kB / 434.5 MB, free: 7.309 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