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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 106.5 kB / 20.32 MB, free: 2.016 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 190.8 kB / 23.47 MB, free: 5.332 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 47.92 kB / 345.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2546, allocations: 49.11 MB / 394.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002761/0.2573, allocations: 1.83 MB / 396.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.2625, allocations: 3.582 MB / 400.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.2627, allocations: 6.562 kB / 400.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.2632, allocations: 127 kB / 400.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2634, allocations: 42.19 kB / 400.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.2683, allocations: 1.69 MB / 402.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.2688, allocations: 307.4 kB / 402.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2689, allocations: 25.59 kB / 402.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2691, allocations: 110.9 kB / 402.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2692, allocations: 106 kB / 402.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.2693, allocations: 16.19 kB / 402.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.2696, allocations: 154 kB / 402.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.2698, allocations: 69.64 kB / 403 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2699, allocations: 107.2 kB / 403.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.2704, allocations: 333.6 kB / 403.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2704, allocations: 4 kB / 403.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2704, allocations: 3.938 kB / 403.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2704, allocations: 0 / 403.4 MB, free: 4.719 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.0008455/0.2712, allocations: 0.5802 MB / 404 MB, free: 4.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2713, allocations: 9.219 kB / 404 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.2713, allocations: 37.52 kB / 404 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.2718, allocations: 295.2 kB / 404.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2718, allocations: 10.16 kB / 404.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.2718, allocations: 22.39 kB / 404.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.2721, allocations: 203 kB / 404.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2722, allocations: 1.078 kB / 404.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2722, allocations: 6.344 kB / 404.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2722, allocations: 2.469 kB / 404.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.2724, allocations: 84.42 kB / 404.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.2732, allocations: 493.5 kB / 405.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.2735, allocations: 161.6 kB / 405.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2736, allocations: 53.7 kB / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2736, allocations: 5.344 kB / 405.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2736, allocations: 34.03 kB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2736, allocations: 0 / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004834/0.2741, allocations: 227.3 kB / 405.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.2742, allocations: 291.1 kB / 405.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2744, allocations: 282.3 kB / 406.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2745, allocations: 31.33 kB / 406.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2745, allocations: 159.8 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2746, allocations: 48.94 kB / 406.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2747, allocations: 60.17 kB / 406.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.2748, allocations: 346.9 kB / 406.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.275, allocations: 96.88 kB / 406.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.2752, allocations: 190.6 kB / 407.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.2755, allocations: 208.4 kB / 407.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2755, allocations: 0 / 407.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004475/0.2759, allocations: 310.6 kB / 407.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2759, allocations: 4.688 kB / 407.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.276, allocations: 5.859 kB / 407.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.276, allocations: 2.125 kB / 407.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2763, allocations: 50.75 kB / 407.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2763, allocations: 1.375 kB / 407.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2764, allocations: 36.86 kB / 407.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2764, allocations: 13.08 kB / 407.7 MB, free: 1.691 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.0001148/0.2765, allocations: 146.8 kB / 407.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.2766, allocations: 28.2 kB / 407.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.2766, allocations: 31.38 kB / 407.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2766, allocations: 1.984 kB / 407.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2766, allocations: 1.312 kB / 407.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2766, allocations: 4.5 kB / 407.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2769, allocations: 265 kB / 408.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2769, allocations: 0 / 408.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2771, allocations: 31.34 kB / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2771, allocations: 1.828 kB / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2771, allocations: 4.578 kB / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2771, allocations: 0 / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2771, allocations: 0 / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.2776, allocations: 345.5 kB / 408.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.2776, allocations: 97.03 kB / 408.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.2777, allocations: 8.359 kB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2778, allocations: 11.22 kB / 408.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.2778, allocations: 11.86 kB / 408.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2778, allocations: 2.906 kB / 408.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.278, allocations: 198.5 kB / 408.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.278, allocations: 0 / 408.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2785, allocations: 84.69 kB / 408.9 MB, free: 0.8203 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.0002434/0.2787, allocations: 157.1 kB / 409.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2791, allocations: 268.7 kB / 409.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2791, allocations: 0 / 409.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2793, allocations: 62.73 kB / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.2797, allocations: 77.25 kB / 409.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.2807, allocations: 0.5911 MB / 410.1 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.2811, allocations: 0.7659 MB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.2812, allocations: 25.97 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2812, allocations: 0 / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Templates: time 0.007338/0.2885, allocations: 3.909 MB / 414.8 MB, free: 13.33 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