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.001261/0.001261, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001287/0.001287, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.395/1.395, allocations: 230.6 MB / 254.8 MB, free: 15.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1071, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003075/0.1101, allocations: 1.858 MB / 428.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1891/0.2993, allocations: 3.56 MB / 432.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2994, allocations: 13.31 kB / 432.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.2998, allocations: 130.1 kB / 432.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.274e-05/0.2999, allocations: 37.8 kB / 432.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.3031, allocations: 1.777 MB / 434.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3035, allocations: 303 kB / 434.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3036, allocations: 23.33 kB / 434.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3038, allocations: 120.9 kB / 434.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3039, allocations: 108.9 kB / 434.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3039, allocations: 12.69 kB / 434.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.3042, allocations: 152.8 kB / 435.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.3043, allocations: 78.5 kB / 435.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.3043, allocations: 97.11 kB / 435.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.3047, allocations: 344.6 kB / 435.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3047, allocations: 0 / 435.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3047, allocations: 1.359 kB / 435.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3047, allocations: 0 / 435.6 MB, free: 7.281 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.0006901/0.3054, allocations: 0.5885 MB / 436.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3055, allocations: 10.75 kB / 436.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/0.3055, allocations: 2.719 kB / 436.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.3055, allocations: 41.03 kB / 436.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.3056, allocations: 31.86 kB / 436.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3059, allocations: 293.1 kB / 436.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3059, allocations: 13.17 kB / 436.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.3059, allocations: 23.86 kB / 436.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3062, allocations: 202.4 kB / 436.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3062, allocations: 0 / 436.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3062, allocations: 12.72 kB / 436.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3062, allocations: 2.375 kB / 436.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3064, allocations: 92.19 kB / 436.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.307, allocations: 490.3 kB / 437.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3073, allocations: 165.9 kB / 437.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3074, allocations: 56.3 kB / 437.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3074, allocations: 1.031 kB / 437.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3074, allocations: 40.69 kB / 437.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.3074, allocations: 0 / 437.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004129/0.3078, allocations: 213.4 kB / 437.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3079, allocations: 298.1 kB / 438.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3081, allocations: 282.5 kB / 438.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3082, allocations: 31.64 kB / 438.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3082, allocations: 159.2 kB / 438.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3083, allocations: 49.7 kB / 438.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.3083, allocations: 61.28 kB / 438.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.3084, allocations: 338.9 kB / 439 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3086, allocations: 100.1 kB / 439.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3088, allocations: 177.7 kB / 439.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.309, allocations: 211.7 kB / 439.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3091, allocations: 1.406 kB / 439.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004184/0.3095, allocations: 303.5 kB / 439.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3095, allocations: 13.44 kB / 439.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3095, allocations: 4.156 kB / 439.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3095, allocations: 4.078 kB / 439.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.3098, allocations: 50.05 kB / 439.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3098, allocations: 4.812 kB / 439.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.3099, allocations: 28.86 kB / 439.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3099, allocations: 6.203 kB / 439.9 MB, free: 4.711 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.941e-05/0.31, allocations: 154.2 kB / 440.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.31, allocations: 23.61 kB / 440.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.3101, allocations: 27.83 kB / 440.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3101, allocations: 2.109 kB / 440.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3101, allocations: 5.031 kB / 440.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3101, allocations: 0.7031 kB / 440.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.3103, allocations: 269.5 kB / 440.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3103, allocations: 3.938 kB / 440.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3105, allocations: 25.61 kB / 440.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3105, allocations: 1.125 kB / 440.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3105, allocations: 7.766 kB / 440.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3105, allocations: 5 kB / 440.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3105, allocations: 6.188 kB / 440.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.3109, allocations: 337.6 kB / 440.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3109, allocations: 100.6 kB / 440.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.311, allocations: 8.734 kB / 440.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3111, allocations: 6.75 kB / 440.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3111, allocations: 19.67 kB / 440.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3112, allocations: 4 kB / 440.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.3113, allocations: 194.2 kB / 441.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3113, allocations: 0 / 441.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000357/0.3117, allocations: 79.83 kB / 441.2 MB, free: 3.848 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.000646/0.3123, allocations: 0.9106 MB / 442.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.3127, allocations: 278 kB / 442.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3127, allocations: 0 / 442.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3128, allocations: 66.28 kB / 442.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3133, allocations: 77.03 kB / 442.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3161, allocations: 2.785 MB / 445.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3163, allocations: 0.7742 MB / 446 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.3165, allocations: 47.05 kB / 446.1 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.3166, allocations: 85.53 kB / 446.2 MB, free: 432 kB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3166, allocations: 0 / 446.2 MB, free: 432 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.3418, allocations: 6.599 MB / 452.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.257, allocations: 10.55 kB / 452.8 MB, free: 14.92 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.668484269001056]