Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_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.001127/0.001128, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001193/0.001193, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08131, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002781/0.08413, allocations: 1.819 MB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1764/0.2605, allocations: 3.542 MB / 380 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2608, allocations: 7.969 kB / 380 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.2612, allocations: 131.8 kB / 380.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.2613, allocations: 34.66 kB / 380.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.2649, allocations: 1.768 MB / 381.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.2654, allocations: 301.8 kB / 382.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2655, allocations: 35.5 kB / 382.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2657, allocations: 112.4 kB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.2659, allocations: 110.4 kB / 382.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.2659, allocations: 12.81 kB / 382.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2662, allocations: 147.5 kB / 382.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2663, allocations: 69.42 kB / 382.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.2664, allocations: 101.9 kB / 382.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.2668, allocations: 339 kB / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2668, allocations: 2.906 kB / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2668, allocations: 1.188 kB / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2668, allocations: 0 / 383.1 MB, free: 8.926 MB / 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.0007637/0.2676, allocations: 0.5798 MB / 383.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2677, allocations: 9.156 kB / 383.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.2677, allocations: 41.95 kB / 383.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.2678, allocations: 33.88 kB / 383.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.2682, allocations: 284.5 kB / 384.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2682, allocations: 11.52 kB / 384.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.2682, allocations: 17.53 kB / 384.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.2685, allocations: 202.8 kB / 384.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2686, allocations: 4 kB / 384.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2686, allocations: 4.719 kB / 384.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2686, allocations: 4.094 kB / 384.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2688, allocations: 92.44 kB / 384.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.2695, allocations: 489.2 kB / 384.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.2698, allocations: 169.3 kB / 385 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.2699, allocations: 56.09 kB / 385.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2699, allocations: 5.938 kB / 385.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2699, allocations: 33.06 kB / 385.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.27, allocations: 1.906 kB / 385.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004192/0.2704, allocations: 218.5 kB / 385.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.2704, allocations: 287 kB / 385.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2707, allocations: 282.1 kB / 385.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2707, allocations: 34.2 kB / 385.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2708, allocations: 154.8 kB / 386.1 MB, free: 7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2708, allocations: 52 kB / 386.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.2709, allocations: 62.55 kB / 386.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.2709, allocations: 343.7 kB / 386.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2711, allocations: 104.7 kB / 386.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.2713, allocations: 185 kB / 386.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.2717, allocations: 209.4 kB / 387 MB, free: 6.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2717, allocations: 0.9375 kB / 387 MB, free: 6.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004117/0.2721, allocations: 312.4 kB / 387.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2721, allocations: 6.391 kB / 387.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.2721, allocations: 4.922 kB / 387.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2722, allocations: 5.531 kB / 387.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2724, allocations: 54.17 kB / 387.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2724, allocations: 1.406 kB / 387.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.2725, allocations: 28.97 kB / 387.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.2726, allocations: 6.359 kB / 387.4 MB, free: 6.23 MB / 318.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 9.958e-05/0.2727, allocations: 143.3 kB / 387.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.2727, allocations: 26.75 kB / 387.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2728, allocations: 32.41 kB / 387.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2728, allocations: 4.875 kB / 387.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2728, allocations: 1.719 kB / 387.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.2728, allocations: 4.547 kB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2731, allocations: 268.7 kB / 387.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2731, allocations: 3.938 kB / 387.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2732, allocations: 22.94 kB / 387.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2732, allocations: 1.922 kB / 387.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2733, allocations: 7.922 kB / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2733, allocations: 4 kB / 387.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2733, allocations: 1.891 kB / 388 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.2737, allocations: 340 kB / 388.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.2738, allocations: 105.1 kB / 388.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.2738, allocations: 8.453 kB / 388.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2739, allocations: 7.641 kB / 388.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.274, allocations: 8.906 kB / 388.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.274, allocations: 10.91 kB / 388.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2742, allocations: 197.9 kB / 388.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2742, allocations: 0 / 388.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.2745, allocations: 77.11 kB / 388.7 MB, free: 5.355 MB / 318.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.0006451/0.2751, allocations: 0.9131 MB / 389.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.2756, allocations: 282.9 kB / 389.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2756, allocations: 0 / 389.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2757, allocations: 66.83 kB / 389.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.2762, allocations: 78.45 kB / 390 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.2791, allocations: 2.781 MB / 392.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2793, allocations: 0.7724 MB / 393.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2794, allocations: 48.45 kB / 393.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.2795, allocations: 78.77 kB / 393.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2795, allocations: 0 / 393.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.376/0.6555, allocations: 6.609 MB / 400.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.79, allocations: 13.45 kB / 400.3 MB, free: 15.86 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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