Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001766/0.001766, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002697/0.002697, allocations: 202.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 55.91 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 49.17 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003321/0.2917, allocations: 1.826 MB / 399.4 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.2974, allocations: 3.597 MB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.2976, allocations: 15.28 kB / 403 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.2981, allocations: 131.5 kB / 403.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2982, allocations: 41.2 kB / 403.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00546/0.3036, allocations: 1.769 MB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.3042, allocations: 309.8 kB / 405.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3043, allocations: 29.39 kB / 405.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3045, allocations: 115.5 kB / 405.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3047, allocations: 105.6 kB / 405.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3047, allocations: 16.22 kB / 405.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3051, allocations: 183.9 kB / 405.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3052, allocations: 70.95 kB / 405.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.3053, allocations: 106.3 kB / 405.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.3058, allocations: 343 kB / 406.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3058, allocations: 0 / 406.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3058, allocations: 0 / 406.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.3059, allocations: 0 / 406.2 MB, free: 4.746 MB / 318.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.0008356/0.3067, allocations: 0.5132 MB / 406.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3067, allocations: 17.58 kB / 406.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.3068, allocations: 32.39 kB / 406.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.3072, allocations: 226.3 kB / 407 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3072, allocations: 10.06 kB / 407 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.3073, allocations: 25.5 kB / 407 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3076, allocations: 200.6 kB / 407.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3076, allocations: 0 / 407.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3076, allocations: 5.375 kB / 407.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3076, allocations: 2.75 kB / 407.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3078, allocations: 85.62 kB / 407.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.3086, allocations: 463.8 kB / 407.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3089, allocations: 165.5 kB / 407.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.309, allocations: 59.95 kB / 408 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.309, allocations: 2.438 kB / 408 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.309, allocations: 40.69 kB / 408 MB, free: 3.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.309, allocations: 1.062 kB / 408 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004992/0.3095, allocations: 218.7 kB / 408.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.3096, allocations: 286.5 kB / 408.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3099, allocations: 287 kB / 408.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3099, allocations: 36.47 kB / 408.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.31, allocations: 151.4 kB / 409 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.31, allocations: 57.38 kB / 409.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.3101, allocations: 63.25 kB / 409.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.3102, allocations: 343.5 kB / 409.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.3104, allocations: 101.5 kB / 409.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3106, allocations: 181.6 kB / 409.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.3109, allocations: 209.2 kB / 409.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3109, allocations: 0.6094 kB / 409.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004564/0.3114, allocations: 312.6 kB / 410.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3114, allocations: 5.25 kB / 410.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.3114, allocations: 2.469 kB / 410.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3114, allocations: 1.406 kB / 410.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3117, allocations: 46.09 kB / 410.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3117, allocations: 5.312 kB / 410.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3118, allocations: 30.92 kB / 410.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3118, allocations: 9.438 kB / 410.3 MB, free: 1.887 MB / 318.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.0001078/0.3119, allocations: 146.3 kB / 410.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.312, allocations: 30.95 kB / 410.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.312, allocations: 32.77 kB / 410.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.312, allocations: 1.25 kB / 410.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.312, allocations: 0 / 410.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3121, allocations: 13.17 kB / 410.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3123, allocations: 233.5 kB / 410.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3123, allocations: 0 / 410.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3125, allocations: 30.73 kB / 410.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3125, allocations: 1.219 kB / 410.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3125, allocations: 6.609 kB / 410.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3125, allocations: 1.406 kB / 410.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3125, allocations: 0 / 410.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.3129, allocations: 340.2 kB / 411.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.3129, allocations: 23.3 kB / 411.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.3129, allocations: 4.375 kB / 411.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3131, allocations: 12.52 kB / 411.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3131, allocations: 11.45 kB / 411.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3131, allocations: 2.281 kB / 411.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3133, allocations: 200 kB / 411.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3133, allocations: 0 / 411.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.3137, allocations: 81.86 kB / 411.5 MB, free: 1.027 MB / 318.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.0002207/0.3139, allocations: 154.6 kB / 411.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.3143, allocations: 267.3 kB / 411.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3143, allocations: 1.375 kB / 411.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3144, allocations: 62.8 kB / 412 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3149, allocations: 71.3 kB / 412 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.3159, allocations: 0.5959 MB / 412.6 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3162, allocations: 0.7751 MB / 413.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3163, allocations: 24.75 kB / 413.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3163, allocations: 0 / 413.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.007699/0.324, allocations: 3.903 MB / 417.3 MB, free: 13.47 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.00342635018751]