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.001245/0.001245, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001211/0.001211, allocations: 183.1 kB / 18.66 MB, free: 4.41 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.411/1.411, 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.001689/0.001689, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09526, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002974/0.09827, allocations: 1.803 MB / 376.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.2783, allocations: 3.549 MB / 380 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.2786, allocations: 5.688 kB / 380 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.279, allocations: 132 kB / 380.1 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.2791, allocations: 36.78 kB / 380.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.2832, allocations: 1.769 MB / 381.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.2838, allocations: 300.6 kB / 382.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2839, allocations: 40.88 kB / 382.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2841, allocations: 111.6 kB / 382.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2843, allocations: 104.7 kB / 382.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.2844, allocations: 12.78 kB / 382.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.2847, allocations: 143.8 kB / 382.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2849, allocations: 72.02 kB / 382.7 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.285, allocations: 102.2 kB / 382.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.2855, allocations: 345.6 kB / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2855, allocations: 0.7969 kB / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2855, allocations: 0 / 383.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2855, 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.0008449/0.2864, allocations: 0.5859 MB / 383.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2864, allocations: 12.31 kB / 383.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.2865, allocations: 41.55 kB / 383.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.2866, allocations: 34.67 kB / 383.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.2869, allocations: 294.6 kB / 384.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.287, allocations: 9.062 kB / 384.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.287, allocations: 23.92 kB / 384.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.2873, allocations: 197.4 kB / 384.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2873, allocations: 0 / 384.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.2874, allocations: 6.438 kB / 384.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2874, allocations: 3.969 kB / 384.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.2876, allocations: 90.08 kB / 384.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.2884, allocations: 491.2 kB / 384.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.2887, allocations: 167.5 kB / 385.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2888, allocations: 58.28 kB / 385.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2888, allocations: 5.438 kB / 385.1 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2888, allocations: 33.95 kB / 385.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2888, allocations: 3.094 kB / 385.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000494/0.2893, allocations: 216.6 kB / 385.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2894, allocations: 292.5 kB / 385.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.2896, allocations: 276 kB / 385.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2897, allocations: 31.08 kB / 386 MB, free: 7.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.2898, allocations: 162.2 kB / 386.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2898, allocations: 51.73 kB / 386.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2899, allocations: 61.64 kB / 386.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.29, allocations: 342.2 kB / 386.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.2902, allocations: 102.6 kB / 386.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2904, allocations: 185.3 kB / 386.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2908, allocations: 206.4 kB / 387 MB, free: 6.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2908, allocations: 6.562 kB / 387.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005339/0.2913, allocations: 310.5 kB / 387.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2913, allocations: 5.031 kB / 387.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.2914, allocations: 5.391 kB / 387.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2914, allocations: 1.312 kB / 387.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2917, allocations: 55.42 kB / 387.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2917, allocations: 3.656 kB / 387.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2918, allocations: 32.55 kB / 387.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.2918, allocations: 6.266 kB / 387.5 MB, free: 6.207 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 0.0001159/0.292, allocations: 145.5 kB / 387.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.292, allocations: 27.38 kB / 387.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.2921, allocations: 31.34 kB / 387.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2921, allocations: 7.172 kB / 387.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2921, allocations: 0.8125 kB / 387.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2921, allocations: 4.547 kB / 387.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.2924, allocations: 265.2 kB / 387.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2924, allocations: 1.531 kB / 387.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2926, allocations: 26.02 kB / 388 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2926, allocations: 1.25 kB / 388 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2926, allocations: 7.062 kB / 388 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2926, allocations: 1.062 kB / 388 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2926, allocations: 0 / 388 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.2931, allocations: 357.5 kB / 388.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.2932, allocations: 96.66 kB / 388.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.2932, allocations: 9.922 kB / 388.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2933, allocations: 6.328 kB / 388.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.2934, allocations: 10.7 kB / 388.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.2934, allocations: 15.03 kB / 388.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.2936, allocations: 194.7 kB / 388.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2936, allocations: 4 kB / 388.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.2941, allocations: 79.16 kB / 388.7 MB, free: 5.332 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.0007692/0.2948, allocations: 0.9159 MB / 389.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.2954, allocations: 279.1 kB / 389.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2954, allocations: 0 / 389.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2955, allocations: 67.73 kB / 390 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.296, allocations: 76.83 kB / 390.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2994, allocations: 2.78 MB / 392.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2997, allocations: 0.774 MB / 393.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.2998, allocations: 54.23 kB / 393.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3, allocations: 81.23 kB / 393.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3, allocations: 0 / 393.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.3327, allocations: 6.529 MB / 400.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.76, allocations: 17.45 kB / 400.3 MB, free: 15.89 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) Reference file matches