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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 211.8 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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: 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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2709, allocations: 53.31 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003154/0.274, allocations: 1.857 MB / 432 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.2803, allocations: 3.569 MB / 435.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.2805, allocations: 7.938 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.281, allocations: 131.3 kB / 435.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2811, allocations: 43.66 kB / 435.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.2854, allocations: 1.685 MB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.2859, allocations: 315.1 kB / 437.8 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.2861, allocations: 20.8 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2864, allocations: 111.5 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2865, allocations: 115.4 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2866, allocations: 12 kB / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.2869, allocations: 151.7 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.287, allocations: 75.69 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2871, allocations: 95.34 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.2876, allocations: 346.3 kB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2876, allocations: 0 / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2876, allocations: 4 kB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2876, allocations: 3.938 kB / 438.7 MB, free: 15.1 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.0009635/0.2886, allocations: 0.5838 MB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2886, allocations: 12.03 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.2887, allocations: 28.75 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.2891, allocations: 284.5 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2892, allocations: 12.55 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.2892, allocations: 23.89 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.2896, allocations: 201.7 kB / 439.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2896, allocations: 7.938 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2896, allocations: 4 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2896, allocations: 4 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.2898, allocations: 91.81 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.2906, allocations: 496.6 kB / 440.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.291, allocations: 158.4 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2911, allocations: 60.81 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2911, allocations: 0 / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2911, allocations: 38.56 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.2911, allocations: 0 / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005082/0.2916, allocations: 228.8 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.2918, allocations: 286.7 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.2921, allocations: 284.5 kB / 441.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.2921, allocations: 33.7 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2923, allocations: 152.5 kB / 441.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.2923, allocations: 51.59 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.2924, allocations: 57.69 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2926, allocations: 346.8 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2928, allocations: 99.94 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.293, allocations: 176.5 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2934, allocations: 209.1 kB / 442.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2934, allocations: 4 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004913/0.2939, allocations: 305.9 kB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2939, allocations: 4 kB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.2939, allocations: 7.984 kB / 442.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2939, allocations: 0 / 442.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2942, allocations: 47.91 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2942, allocations: 4 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2943, allocations: 35.7 kB / 443 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2944, allocations: 4.094 kB / 443 MB, free: 10.51 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.0001538/0.2945, allocations: 158.1 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.2946, allocations: 31.75 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.2946, allocations: 25.97 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2946, allocations: 4 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2946, allocations: 0 / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2946, allocations: 7.875 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.295, allocations: 265.5 kB / 443.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.295, allocations: 3.984 kB / 443.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2952, allocations: 27.98 kB / 443.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2952, allocations: 4 kB / 443.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2952, allocations: 8 kB / 443.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2952, allocations: 0 / 443.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2952, allocations: 3.984 kB / 443.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.2957, allocations: 339.1 kB / 443.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.2958, allocations: 100.9 kB / 443.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.2958, allocations: 8.062 kB / 443.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.296, allocations: 19.98 kB / 443.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.296, allocations: 11.92 kB / 444 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.296, allocations: 0 / 444 MB, free: 9.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.2962, allocations: 191.1 kB / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2962, allocations: 0 / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2966, allocations: 83.86 kB / 444.2 MB, free: 9.145 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.0002559/0.2968, allocations: 135.2 kB / 444.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.2973, allocations: 280.8 kB / 444.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2973, allocations: 0 / 444.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2975, allocations: 63.91 kB / 444.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.298, allocations: 77.56 kB / 444.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2991, allocations: 0.5954 MB / 445.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.2995, allocations: 0.7713 MB / 446.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.2995, allocations: 23.44 kB / 446.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2995, allocations: 0 / 446.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of Templates: time 0.006909/0.3064, allocations: 3.898 MB / 450.1 MB, free: 3.227 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] 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