Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 124.3 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 199.3 kB / 20.74 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09464, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002894/0.09753, allocations: 1.854 MB / 428.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1811/0.2786, allocations: 3.561 MB / 431.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.2788, allocations: 14.66 kB / 431.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.2792, allocations: 136.1 kB / 431.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.2793, allocations: 37.88 kB / 431.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.2829, allocations: 1.771 MB / 433.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.2833, allocations: 302.5 kB / 434 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2834, allocations: 21.31 kB / 434 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2836, allocations: 123.2 kB / 434.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2837, allocations: 111.7 kB / 434.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.2837, allocations: 12.44 kB / 434.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.284, allocations: 152.1 kB / 434.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2841, allocations: 76.92 kB / 434.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.2842, allocations: 97.34 kB / 434.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.2846, allocations: 342.5 kB / 434.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2846, allocations: 3.562 kB / 434.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2846, allocations: 1.688 kB / 434.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2846, allocations: 0 / 434.9 MB, free: 7.797 MB / 350.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.0007287/0.2853, allocations: 0.5876 MB / 435.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2854, allocations: 10.61 kB / 435.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.2854, allocations: 44.02 kB / 435.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.2855, allocations: 33.16 kB / 435.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.2859, allocations: 293.8 kB / 435.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2859, allocations: 10.75 kB / 435.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.2859, allocations: 20.5 kB / 435.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2862, allocations: 202.1 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2862, allocations: 2.719 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.2862, allocations: 5.875 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2862, allocations: 2.156 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.2864, allocations: 89.98 kB / 436.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.2871, allocations: 497.2 kB / 436.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.2874, allocations: 164.1 kB / 436.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2875, allocations: 60.23 kB / 436.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2875, allocations: 1.125 kB / 436.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2876, allocations: 38.89 kB / 436.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.2876, allocations: 1.094 kB / 436.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004443/0.288, allocations: 224.9 kB / 437.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2881, allocations: 286.5 kB / 437.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2883, allocations: 283.7 kB / 437.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2883, allocations: 31.86 kB / 437.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.2884, allocations: 157.9 kB / 437.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.2884, allocations: 49.36 kB / 437.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.2885, allocations: 59.66 kB / 438 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.2886, allocations: 347.2 kB / 438.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2888, allocations: 98.25 kB / 438.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.289, allocations: 175.6 kB / 438.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.2893, allocations: 214.7 kB / 438.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2893, allocations: 0 / 438.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004333/0.2897, allocations: 304.7 kB / 439.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2897, allocations: 6.641 kB / 439.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.2898, allocations: 4.391 kB / 439.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2898, allocations: 2.141 kB / 439.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.29, allocations: 52.77 kB / 439.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.29, allocations: 2.281 kB / 439.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2901, allocations: 32.61 kB / 439.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2902, allocations: 9.719 kB / 439.2 MB, free: 4.902 MB / 350.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.954e-05/0.2903, allocations: 150.9 kB / 439.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.2903, allocations: 25.53 kB / 439.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.2904, allocations: 28.47 kB / 439.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2904, allocations: 1.906 kB / 439.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2904, allocations: 0 / 439.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2904, allocations: 5.109 kB / 439.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.2906, allocations: 268.1 kB / 439.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2906, allocations: 0.8906 kB / 439.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2908, allocations: 31.05 kB / 439.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2908, allocations: 3.109 kB / 439.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2908, allocations: 12.11 kB / 439.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2908, allocations: 0.6562 kB / 439.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2908, allocations: 1.312 kB / 439.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.2912, allocations: 332.8 kB / 440.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.2912, allocations: 104.7 kB / 440.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2913, allocations: 16.8 kB / 440.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2914, allocations: 11.83 kB / 440.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2914, allocations: 6.359 kB / 440.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2915, allocations: 12.2 kB / 440.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.2916, allocations: 193.5 kB / 440.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2916, allocations: 0 / 440.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.292, allocations: 80.12 kB / 440.5 MB, free: 4.031 MB / 350.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.000699/0.2927, allocations: 0.9128 MB / 441.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.2931, allocations: 271.4 kB / 441.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2931, allocations: 5 kB / 441.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2932, allocations: 57.89 kB / 441.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2937, allocations: 79.42 kB / 441.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2968, allocations: 2.773 MB / 444.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.297, allocations: 0.7755 MB / 445.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.2972, allocations: 40.97 kB / 445.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.2972, allocations: 79.94 kB / 445.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2973, allocations: 0 / 445.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.3278, allocations: 6.582 MB / 452 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.389, allocations: 6.031 kB / 452 MB, free: 15.11 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.688765667146072]