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.001929/0.001929, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.002259/0.002259, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.637/1.637, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 59.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1398, allocations: 53.38 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00343/0.1432, allocations: 1.85 MB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3548/0.498, allocations: 3.558 MB / 432.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.4983, allocations: 14.16 kB / 432.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.4989, allocations: 133.6 kB / 432.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.4991, allocations: 40.34 kB / 432.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006272/0.5053, allocations: 1.774 MB / 434.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.5061, allocations: 304.8 kB / 434.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.5063, allocations: 20.36 kB / 434.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.5065, allocations: 121.1 kB / 434.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5067, allocations: 109.8 kB / 435 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.5068, allocations: 17.06 kB / 435 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.5072, allocations: 145.6 kB / 435.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.5073, allocations: 75.45 kB / 435.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.5075, allocations: 102.3 kB / 435.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.5081, allocations: 344.5 kB / 435.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.5081, allocations: 1.75 kB / 435.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5081, allocations: 0.5 kB / 435.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.5081, allocations: 1.094 kB / 435.6 MB, free: 7.301 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.0009992/0.5091, allocations: 0.5861 MB / 436.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.5092, allocations: 14.41 kB / 436.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.5092, allocations: 2.5 kB / 436.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.5092, allocations: 41.83 kB / 436.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.5093, allocations: 31.64 kB / 436.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.5098, allocations: 290.9 kB / 436.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.5098, allocations: 12.27 kB / 436.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.5099, allocations: 23.48 kB / 436.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.5103, allocations: 201 kB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5103, allocations: 1.359 kB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.5103, allocations: 6.031 kB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.5103, allocations: 4.5 kB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.5106, allocations: 90.19 kB / 436.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.5115, allocations: 490.4 kB / 437.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.5119, allocations: 161.1 kB / 437.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.512, allocations: 62.58 kB / 437.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.512, allocations: 1.656 kB / 437.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.512, allocations: 36 kB / 437.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.512, allocations: 0 / 437.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005551/0.5126, allocations: 216.7 kB / 437.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5127, allocations: 288.2 kB / 438.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.5131, allocations: 288.5 kB / 438.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.5131, allocations: 35.59 kB / 438.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.5132, allocations: 159 kB / 438.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.5133, allocations: 51.67 kB / 438.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.5134, allocations: 59.27 kB / 438.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5135, allocations: 339.3 kB / 439.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.5137, allocations: 102.3 kB / 439.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.514, allocations: 177.7 kB / 439.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.5143, allocations: 210.5 kB / 439.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5143, allocations: 112 / 439.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000546/0.5149, allocations: 307.9 kB / 439.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5149, allocations: 5.359 kB / 439.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/0.515, allocations: 9.5 kB / 439.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.515, allocations: 5.156 kB / 439.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.5153, allocations: 49.88 kB / 439.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.5153, allocations: 5.797 kB / 439.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5154, allocations: 28.73 kB / 439.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.5154, allocations: 6.375 kB / 440 MB, free: 4.641 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.0001527/0.5156, allocations: 148.8 kB / 440.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.5157, allocations: 23.42 kB / 440.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.5157, allocations: 40.56 kB / 440.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5157, allocations: 1.219 kB / 440.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.5157, allocations: 5.281 kB / 440.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5157, allocations: 0.5156 kB / 440.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.5161, allocations: 266.8 kB / 440.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5161, allocations: 0 / 440.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.5163, allocations: 27.3 kB / 440.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5163, allocations: 2.203 kB / 440.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.5163, allocations: 7.156 kB / 440.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5163, allocations: 1.062 kB / 440.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5163, allocations: 7.922 kB / 440.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.5168, allocations: 336.5 kB / 440.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.5169, allocations: 100.8 kB / 440.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.517, allocations: 9.156 kB / 440.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.5171, allocations: 7.453 kB / 440.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.5171, allocations: 18.3 kB / 440.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.5172, allocations: 6.312 kB / 440.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.5174, allocations: 197.5 kB / 441.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5174, allocations: 0 / 441.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005146/0.5179, allocations: 76.3 kB / 441.2 MB, free: 3.77 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.0009067/0.5188, allocations: 0.9223 MB / 442.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.5193, allocations: 271.2 kB / 442.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5193, allocations: 0 / 442.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.5195, allocations: 61.52 kB / 442.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.52, allocations: 81.88 kB / 442.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.5241, allocations: 2.78 MB / 445.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.5245, allocations: 0.7711 MB / 446.1 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.5247, allocations: 46.75 kB / 446.1 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.5248, allocations: 83.78 kB / 446.2 MB, free: 360 kB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5249, allocations: 1.062 kB / 446.2 MB, free: 360 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.5585, allocations: 6.596 MB / 452.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.15, allocations: 15.52 kB / 452.8 MB, free: 14.78 MB / 366.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.020328802987933]