Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001788/0.001788, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002443/0.002443, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 55.91 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003109/0.2782, allocations: 1.769 MB / 433.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.284, allocations: 3.32 MB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2842, allocations: 11.81 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.2846, allocations: 135.4 kB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2847, allocations: 43.62 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.2889, allocations: 1.773 MB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.2893, allocations: 311.2 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2894, allocations: 20.94 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.2897, allocations: 127.5 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2898, allocations: 107.4 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.2899, allocations: 12 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2902, allocations: 171.7 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2903, allocations: 79.69 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.2904, allocations: 79.47 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.2908, allocations: 358.2 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2909, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2909, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2909, allocations: 0 / 439.9 MB, free: 14.42 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.0008309/0.2917, allocations: 0.5085 MB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2917, allocations: 12.03 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.2918, allocations: 32.75 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.2922, allocations: 222.6 kB / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2923, allocations: 8.562 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.2923, allocations: 23.89 kB / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.2928, allocations: 441.4 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2928, allocations: 3.938 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2928, allocations: 8 kB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2928, allocations: 0 / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.293, allocations: 87.88 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.2938, allocations: 404.3 kB / 441.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.2941, allocations: 162.5 kB / 441.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2942, allocations: 56.83 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2942, allocations: 4 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2943, allocations: 38.59 kB / 441.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2943, allocations: 0 / 441.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000474/0.2947, allocations: 221.4 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.2949, allocations: 286.7 kB / 442.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.2952, allocations: 280.6 kB / 442.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.2952, allocations: 33.7 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2953, allocations: 152.5 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.2954, allocations: 59.58 kB / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2955, allocations: 57.69 kB / 442.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2956, allocations: 342.8 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2958, allocations: 99.94 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.2962, allocations: 411.8 kB / 443.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.2965, allocations: 210 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2965, allocations: 0 / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004773/0.297, allocations: 305.3 kB / 444.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.297, allocations: 4 kB / 444.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.2971, allocations: 8.094 kB / 444.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2971, allocations: 7.938 kB / 444.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.2973, allocations: 47.95 kB / 444.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2973, allocations: 0 / 444.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2974, allocations: 27.78 kB / 444.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2975, allocations: 15.94 kB / 444.4 MB, free: 9.527 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.0001577/0.2976, allocations: 149.8 kB / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.2977, allocations: 31.75 kB / 444.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.2977, allocations: 29.92 kB / 444.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2977, allocations: 11.98 kB / 444.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2978, allocations: 4 kB / 444.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2978, allocations: 0 / 444.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.298, allocations: 193.1 kB / 444.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.298, allocations: 0 / 444.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.2982, allocations: 23.98 kB / 444.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2982, allocations: 3.984 kB / 444.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2982, allocations: 8 kB / 444.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2982, allocations: 3.938 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2982, allocations: 0 / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.2987, allocations: 344.1 kB / 445.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.2987, allocations: 23.81 kB / 445.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.2987, allocations: 8.062 kB / 445.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2989, allocations: 11.98 kB / 445.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2989, allocations: 7.984 kB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2989, allocations: 4 kB / 445.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.2991, allocations: 195.1 kB / 445.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2991, allocations: 0 / 445.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.2995, allocations: 79.88 kB / 445.5 MB, free: 8.367 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.0002684/0.2997, allocations: 151 kB / 445.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.3003, allocations: 268.9 kB / 445.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3003, allocations: 0 / 445.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3004, allocations: 59.91 kB / 445.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.3009, allocations: 83.34 kB / 446 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3019, allocations: 0.5517 MB / 446.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3021, allocations: 165.8 kB / 446.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.3022, allocations: 50.03 kB / 446.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.3023, allocations: 19.44 kB / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3023, allocations: 0 / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.008868/0.3111, allocations: 4.18 MB / 451 MB, free: 2.848 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.923638941720128]