Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002122/0.002122, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00256/0.002561, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 50.55 MB / 409.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004059/0.3613, allocations: 1.837 MB / 411.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.3696, allocations: 3.55 MB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.3699, allocations: 3.938 kB / 414.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.3705, allocations: 131.4 kB / 415.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3706, allocations: 43.64 kB / 415.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.3757, allocations: 1.777 MB / 416.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.3763, allocations: 299.2 kB / 417.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.3766, allocations: 32.73 kB / 417.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.3768, allocations: 119.5 kB / 417.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.377, allocations: 103.4 kB / 417.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3772, allocations: 12 kB / 417.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.3775, allocations: 147.7 kB / 417.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3777, allocations: 71.75 kB / 417.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3778, allocations: 99.34 kB / 417.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.3783, allocations: 346.5 kB / 418.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3783, allocations: 0 / 418.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3783, allocations: 0 / 418.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3783, allocations: 0 / 418.1 MB, free: 8.879 MB / 334.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.000961/0.3793, allocations: 0.5876 MB / 418.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3794, allocations: 12.03 kB / 418.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.3794, allocations: 32.75 kB / 418.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.38, allocations: 276.5 kB / 419 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.38, allocations: 8.562 kB / 419 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.3801, allocations: 31.81 kB / 419 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3805, allocations: 207.6 kB / 419.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3805, allocations: 0 / 419.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3805, allocations: 0 / 419.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3806, allocations: 11.88 kB / 419.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.3808, allocations: 87.88 kB / 419.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.3817, allocations: 0.4888 MB / 419.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.3821, allocations: 158.5 kB / 420 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3822, allocations: 56.83 kB / 420 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3823, allocations: 3.984 kB / 420 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3823, allocations: 42.59 kB / 420.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3823, allocations: 4 kB / 420.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005347/0.3829, allocations: 220.4 kB / 420.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/0.3831, allocations: 286.7 kB / 420.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.3835, allocations: 280.5 kB / 420.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3836, allocations: 33.7 kB / 420.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3838, allocations: 160.5 kB / 421 MB, free: 5.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.3838, allocations: 51.59 kB / 421.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3839, allocations: 65.69 kB / 421.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3842, allocations: 334.8 kB / 421.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.3844, allocations: 103.9 kB / 421.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.3847, allocations: 176.5 kB / 421.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.3851, allocations: 213.5 kB / 422 MB, free: 4.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3851, allocations: 0 / 422 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005207/0.3856, allocations: 309.3 kB / 422.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3856, allocations: 4 kB / 422.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.3857, allocations: 7.984 kB / 422.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3857, allocations: 0 / 422.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.386, allocations: 47.97 kB / 422.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.386, allocations: 0 / 422.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3861, allocations: 35.72 kB / 422.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3861, allocations: 11.98 kB / 422.4 MB, free: 4.266 MB / 334.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.0001711/0.3863, allocations: 145.8 kB / 422.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.3864, allocations: 27.81 kB / 422.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.3865, allocations: 26.08 kB / 422.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3865, allocations: 7.938 kB / 422.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3865, allocations: 0 / 422.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3865, allocations: 3.938 kB / 422.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.3869, allocations: 265.5 kB / 422.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3869, allocations: 8 kB / 422.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.3871, allocations: 31.92 kB / 422.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3871, allocations: 0 / 422.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3871, allocations: 4 kB / 422.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3871, allocations: 96 / 422.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3871, allocations: 3.938 kB / 422.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.3876, allocations: 335.2 kB / 423.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.3878, allocations: 108.8 kB / 423.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3878, allocations: 8.062 kB / 423.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3879, allocations: 15.98 kB / 423.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.388, allocations: 7.938 kB / 423.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.388, allocations: 0 / 423.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3882, allocations: 199.1 kB / 423.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3883, allocations: 0 / 423.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.3887, allocations: 79.86 kB / 423.6 MB, free: 2.918 MB / 334.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.000329/0.389, allocations: 143.1 kB / 423.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.3895, allocations: 280.9 kB / 424 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3895, allocations: 4 kB / 424 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3897, allocations: 63.89 kB / 424.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.3902, allocations: 75.11 kB / 424.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3914, allocations: 0.5587 MB / 424.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.3921, allocations: 0.7714 MB / 425.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.3923, allocations: 46.05 kB / 425.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3923, allocations: 23.38 kB / 425.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3923, allocations: 0 / 425.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Templates: time 0.009081/0.4014, allocations: 3.769 MB / 429.3 MB, free: 13.14 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches