Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.84 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1009, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003145/0.1041, allocations: 1.847 MB / 428.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1995/0.3035, allocations: 3.568 MB / 432.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3037, allocations: 7.219 kB / 432.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.3041, allocations: 134.8 kB / 432.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3042, allocations: 34.34 kB / 432.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.3081, allocations: 1.776 MB / 434 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.3084, allocations: 304.3 kB / 434.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3085, allocations: 23.64 kB / 434.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3087, allocations: 119.5 kB / 434.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3089, allocations: 108.5 kB / 434.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.3089, allocations: 12.88 kB / 434.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.3092, allocations: 153.6 kB / 434.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3093, allocations: 72.7 kB / 434.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.3094, allocations: 98.31 kB / 434.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.3098, allocations: 345 kB / 435.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3098, allocations: 0 / 435.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3098, allocations: 0 / 435.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3098, allocations: 1.156 kB / 435.2 MB, free: 7.297 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.000737/0.3106, allocations: 0.5873 MB / 435.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3106, allocations: 10.91 kB / 435.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.3107, allocations: 42.73 kB / 435.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3107, allocations: 34.81 kB / 435.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.3111, allocations: 289.8 kB / 436.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3111, allocations: 10.81 kB / 436.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.3112, allocations: 26.38 kB / 436.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.3115, allocations: 198.7 kB / 436.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3115, allocations: 1.219 kB / 436.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3115, allocations: 9.094 kB / 436.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3115, allocations: 4.469 kB / 436.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.3117, allocations: 90.47 kB / 436.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.3125, allocations: 492.4 kB / 437 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3128, allocations: 168.3 kB / 437.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3129, allocations: 56.52 kB / 437.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3129, allocations: 1.156 kB / 437.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.313, allocations: 40.38 kB / 437.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.313, allocations: 0 / 437.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004493/0.3134, allocations: 209.7 kB / 437.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.3135, allocations: 297.9 kB / 437.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3137, allocations: 286.1 kB / 438 MB, free: 5.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3138, allocations: 31.48 kB / 438.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.3138, allocations: 153.2 kB / 438.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3139, allocations: 52.14 kB / 438.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.314, allocations: 60.55 kB / 438.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.314, allocations: 341.4 kB / 438.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3142, allocations: 100.7 kB / 438.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3144, allocations: 180.7 kB / 438.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.3147, allocations: 218.5 kB / 439.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3147, allocations: 0 / 439.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004417/0.3152, allocations: 299.5 kB / 439.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3152, allocations: 6.703 kB / 439.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.3152, allocations: 12.42 kB / 439.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3152, allocations: 1.766 kB / 439.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3155, allocations: 50.48 kB / 439.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3155, allocations: 1.594 kB / 439.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3156, allocations: 32.28 kB / 439.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3156, allocations: 7.219 kB / 439.5 MB, free: 4.773 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 0.0001051/0.3157, allocations: 149 kB / 439.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.3158, allocations: 29.31 kB / 439.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.3158, allocations: 27.62 kB / 439.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3158, allocations: 1.062 kB / 439.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3158, allocations: 4.734 kB / 439.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.3158, allocations: 4.781 kB / 439.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.3161, allocations: 268.1 kB / 440 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3161, allocations: 0 / 440 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3163, allocations: 25.52 kB / 440 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3163, allocations: 1.703 kB / 440 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3163, allocations: 8.688 kB / 440.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3163, allocations: 5.344 kB / 440.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3163, allocations: 0 / 440.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.3167, allocations: 331.8 kB / 440.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.3168, allocations: 104.2 kB / 440.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.3168, allocations: 9.906 kB / 440.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3169, allocations: 6.188 kB / 440.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.317, allocations: 11.45 kB / 440.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.317, allocations: 11.41 kB / 440.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3171, allocations: 193.8 kB / 440.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3171, allocations: 0 / 440.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3176, allocations: 82.88 kB / 440.8 MB, free: 3.918 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.0007007/0.3183, allocations: 0.9156 MB / 441.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3187, allocations: 267.8 kB / 442 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3187, allocations: 3.938 kB / 442 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3188, allocations: 67.56 kB / 442 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3193, allocations: 91.39 kB / 442.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3225, allocations: 2.773 MB / 444.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3227, allocations: 0.7745 MB / 445.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.3229, allocations: 44.42 kB / 445.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.323, allocations: 80.36 kB / 445.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.323, allocations: 0 / 445.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3559, allocations: 6.569 MB / 452.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.425, allocations: 10.78 kB / 452.4 MB, free: 15.03 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.75425650505349]