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.001577/0.001577, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.00145/0.00145, allocations: 210 kB / 24.51 MB, free: 3.941 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.655/1.655, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.00193/0.00193, allocations: 63.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3911, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003442/0.3946, allocations: 1.765 MB / 433.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.4011, allocations: 3.324 MB / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.4014, allocations: 11.81 kB / 437 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.4019, allocations: 143.3 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.402, allocations: 31.72 kB / 437.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005475/0.4075, allocations: 1.774 MB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000656/0.4081, allocations: 315.1 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4083, allocations: 24.92 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.4085, allocations: 119.6 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.4087, allocations: 111.4 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.4088, allocations: 12 kB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.4092, allocations: 179.6 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.4093, allocations: 79.67 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4095, allocations: 75.48 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.41, allocations: 354.2 kB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.41, allocations: 0 / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.41, allocations: 0 / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4101, allocations: 0 / 440.2 MB, free: 14.15 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.001144/0.4112, allocations: 0.5124 MB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4112, allocations: 12.03 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.4113, allocations: 384 / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.4113, allocations: 50.73 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.4114, allocations: 28.75 kB / 440.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.4119, allocations: 226.5 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.412, allocations: 15.94 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.412, allocations: 19.95 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.4126, allocations: 437 kB / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4126, allocations: 0 / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4126, allocations: 8 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4127, allocations: 3.938 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.4129, allocations: 87.92 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4139, allocations: 435.7 kB / 442 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.4144, allocations: 166.4 kB / 442.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4146, allocations: 56.81 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.4146, allocations: 4 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4146, allocations: 38.56 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.4146, allocations: 4 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005348/0.4152, allocations: 213.2 kB / 442.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.4154, allocations: 298.6 kB / 442.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.4157, allocations: 288.5 kB / 443 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.4157, allocations: 37.7 kB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4159, allocations: 152.5 kB / 443.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.416, allocations: 59.52 kB / 443.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4161, allocations: 53.7 kB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4163, allocations: 342.8 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.4165, allocations: 99.94 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.4169, allocations: 407.8 kB / 444.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.4173, allocations: 213.4 kB / 444.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4173, allocations: 0 / 444.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005217/0.4178, allocations: 301.4 kB / 444.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.4178, allocations: 10.64 kB / 444.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.4178, allocations: 4 kB / 444.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.4179, allocations: 4 kB / 444.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.4182, allocations: 51.84 kB / 444.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4182, allocations: 0 / 444.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4183, allocations: 27.83 kB / 444.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.4184, allocations: 12 kB / 444.8 MB, free: 9.152 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.0001673/0.4185, allocations: 142.5 kB / 444.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.4186, allocations: 31.86 kB / 444.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.4186, allocations: 25.91 kB / 445 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4187, allocations: 7.938 kB / 445 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4187, allocations: 0 / 445 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4187, allocations: 3.984 kB / 445 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.419, allocations: 220.7 kB / 445.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.419, allocations: 7.875 kB / 445.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4192, allocations: 27.98 kB / 445.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4192, allocations: 0 / 445.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4192, allocations: 7.984 kB / 445.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4192, allocations: 7.938 kB / 445.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4192, allocations: 0 / 445.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.4198, allocations: 339.2 kB / 445.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.4198, allocations: 23.81 kB / 445.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4199, allocations: 0 / 445.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.42, allocations: 23.97 kB / 445.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.4201, allocations: 7.984 kB / 445.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4201, allocations: 0 / 445.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.4203, allocations: 199.1 kB / 445.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4203, allocations: 0 / 445.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.4207, allocations: 79.88 kB / 445.9 MB, free: 7.953 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.0009655/0.4217, allocations: 0.914 MB / 446.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005099/0.4222, allocations: 273.4 kB / 447.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4222, allocations: 0 / 447.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4223, allocations: 63.89 kB / 447.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.4228, allocations: 87.27 kB / 447.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.4265, allocations: 2.778 MB / 450 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.4267, allocations: 161.8 kB / 450.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.4269, allocations: 45.84 kB / 450.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.427, allocations: 87.41 kB / 450.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.427, allocations: 0 / 450.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.4655, allocations: 7.087 MB / 457.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.71, allocations: 4.062 kB / 457.4 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.622845437028445]