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.001273/0.001273, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.00127/0.00127, allocations: 189.4 kB / 18 MB, free: 5.098 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.448/1.448, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 47.91 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 49.43 MB / 400.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003176/0.2637, allocations: 1.842 MB / 402.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.2697, allocations: 3.491 MB / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.2699, allocations: 7.938 kB / 405.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.2703, allocations: 139.3 kB / 405.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2705, allocations: 35.7 kB / 405.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.275, allocations: 1.778 MB / 407.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.2754, allocations: 299.2 kB / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.2755, allocations: 32.69 kB / 407.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2757, allocations: 115.5 kB / 407.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2758, allocations: 107.4 kB / 408 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2759, allocations: 12 kB / 408.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.2762, allocations: 143.7 kB / 408.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2763, allocations: 67.77 kB / 408.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2764, allocations: 103.3 kB / 408.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.2769, allocations: 342.6 kB / 408.7 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2769, allocations: 0 / 408.7 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2769, allocations: 0 / 408.7 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2769, allocations: 0 / 408.7 MB, free: 372 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.000968/0.2779, allocations: 0.5915 MB / 409.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2779, allocations: 8.031 kB / 409.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.278, allocations: 50.73 kB / 409.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2781, allocations: 32.75 kB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2785, allocations: 288 kB / 409.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2785, allocations: 8 kB / 409.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.2786, allocations: 19.94 kB / 409.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2789, allocations: 200.2 kB / 409.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2789, allocations: 3.984 kB / 409.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.279, allocations: 11.94 kB / 409.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.279, allocations: 0 / 409.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.2792, allocations: 83.94 kB / 410 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.28, allocations: 492.4 kB / 410.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.2803, allocations: 170.4 kB / 410.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.2805, allocations: 56.83 kB / 410.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2805, allocations: 4 kB / 410.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2805, allocations: 42.59 kB / 410.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2805, allocations: 0 / 410.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004891/0.281, allocations: 225.4 kB / 411 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.2812, allocations: 286.7 kB / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.2815, allocations: 284.5 kB / 411.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.2816, allocations: 29.7 kB / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2817, allocations: 152.6 kB / 411.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.2818, allocations: 55.53 kB / 411.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.2819, allocations: 65.69 kB / 411.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.282, allocations: 338.8 kB / 412.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2823, allocations: 103.9 kB / 412.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.2826, allocations: 176.5 kB / 412.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.283, allocations: 209.4 kB / 412.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.283, allocations: 0 / 412.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005162/0.2835, allocations: 309.3 kB / 412.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2835, allocations: 8 kB / 412.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.2835, allocations: 96 / 412.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2836, allocations: 11.88 kB / 412.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2838, allocations: 47.95 kB / 413 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2839, allocations: 4 kB / 413 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.284, allocations: 19.89 kB / 413 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.284, allocations: 8 kB / 413 MB, free: 11.7 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.0001577/0.2842, allocations: 153.7 kB / 413.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.2842, allocations: 27.81 kB / 413.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.2843, allocations: 33.91 kB / 413.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2843, allocations: 0 / 413.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2843, allocations: 4 kB / 413.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2843, allocations: 0 / 413.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.2847, allocations: 269.5 kB / 413.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.2847, allocations: 8.094 kB / 413.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2849, allocations: 31.86 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2849, allocations: 0 / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.2849, allocations: 11.94 kB / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2849, allocations: 0 / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2849, allocations: 0 / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.2854, allocations: 333.8 kB / 413.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.2855, allocations: 100.9 kB / 414 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.2856, allocations: 15.98 kB / 414 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2857, allocations: 4 kB / 414 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.2857, allocations: 11.98 kB / 414 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2858, allocations: 4 kB / 414 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.286, allocations: 195.1 kB / 414.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.286, allocations: 0 / 414.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2863, allocations: 79.88 kB / 414.3 MB, free: 10.35 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.001053/0.2874, allocations: 0.9112 MB / 415.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2879, allocations: 284.9 kB / 415.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2879, allocations: 0 / 415.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2881, allocations: 71.89 kB / 415.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2886, allocations: 79.3 kB / 415.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.2923, allocations: 2.789 MB / 418.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.2928, allocations: 0.7714 MB / 419.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.293, allocations: 42.17 kB / 419.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2931, allocations: 95.34 kB / 419.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2931, allocations: 0 / 419.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.3322, allocations: 6.522 MB / 425.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.583, allocations: 11.91 kB / 425.8 MB, free: 14.73 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) Reference file matches