Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001867/0.001867, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.08 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2803, allocations: 53.4 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003951/0.2842, allocations: 2.032 MB / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.2913, allocations: 3.776 MB / 438.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.2916, allocations: 19.75 kB / 438.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.2922, allocations: 187.1 kB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2925, allocations: 43.58 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00531/0.2978, allocations: 1.94 MB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.2986, allocations: 0.5066 MB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2987, allocations: 29.28 kB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.2991, allocations: 187.4 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.2995, allocations: 179.1 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.2996, allocations: 20 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.3027, allocations: 1.916 MB / 443.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.3029, allocations: 123.6 kB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.3031, allocations: 166.9 kB / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.3057, allocations: 1.806 MB / 445.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3057, allocations: 4 kB / 445.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3057, allocations: 0 / 445.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3057, allocations: 4 kB / 445.3 MB, free: 9.809 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002014/0.3077, allocations: 0.8351 MB / 446.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3078, allocations: 12.03 kB / 446.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3079, allocations: 60.55 kB / 446.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.3085, allocations: 287.4 kB / 446.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3085, allocations: 20.66 kB / 446.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3086, allocations: 28.33 kB / 446.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.3092, allocations: 308.2 kB / 446.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3092, allocations: 0 / 446.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3092, allocations: 8 kB / 446.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3092, allocations: 4 kB / 446.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.3095, allocations: 144.7 kB / 447 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3109, allocations: 0.6436 MB / 447.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.3116, allocations: 328.5 kB / 448 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3119, allocations: 100.8 kB / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3119, allocations: 4 kB / 448.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3119, allocations: 38.56 kB / 448.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.3119, allocations: 0 / 448.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000785/0.3127, allocations: 381.6 kB / 448.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/0.313, allocations: 375.8 kB / 448.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.3135, allocations: 405.8 kB / 449.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.3135, allocations: 37.7 kB / 449.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3137, allocations: 196.9 kB / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3138, allocations: 87.28 kB / 449.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.314, allocations: 105.7 kB / 449.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3142, allocations: 354.7 kB / 450 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.3146, allocations: 208.2 kB / 450.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.3151, allocations: 321.9 kB / 450.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.3157, allocations: 384.7 kB / 450.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3157, allocations: 7.938 kB / 450.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0012/0.3169, allocations: 0.6489 MB / 451.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3169, allocations: 8 kB / 451.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.317, allocations: 7.984 kB / 451.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.3174, allocations: 126.5 kB / 451.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.3177, allocations: 67.91 kB / 451.8 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.3224, allocations: 4.248 MB / 456 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3227, allocations: 43.69 kB / 456.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.3227, allocations: 12 kB / 456.1 MB, free: 14.35 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.323, allocations: 177.8 kB / 456.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.3231, allocations: 43.72 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3232, allocations: 47.83 kB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3232, allocations: 4 kB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3232, allocations: 3.938 kB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3232, allocations: 0 / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.3237, allocations: 324.3 kB / 456.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3237, allocations: 0 / 456.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.324, allocations: 43.92 kB / 456.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.324, allocations: 4 kB / 456.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.3241, allocations: 11.98 kB / 456.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3241, allocations: 3.938 kB / 456.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3241, allocations: 0 / 456.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.325, allocations: 0.5096 MB / 457.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.325, allocations: 39.66 kB / 457.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.3251, allocations: 19.92 kB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.3253, allocations: 15.98 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3253, allocations: 11.97 kB / 457.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3254, allocations: 8 kB / 457.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.3257, allocations: 271.1 kB / 457.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3257, allocations: 0 / 457.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002417/0.3281, allocations: 0.6558 MB / 458.3 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001731/0.3299, allocations: 0.6596 MB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.3317, allocations: 0.9333 MB / 459.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3317, allocations: 4 kB / 459.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.332, allocations: 115.9 kB / 460 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.3327, allocations: 118.7 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3344, allocations: 0.9716 MB / 461.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.335, allocations: 0.8341 MB / 461.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.3351, allocations: 31.44 kB / 461.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3351, allocations: 0 / 461.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of Templates: time 0.02204/0.3572, allocations: 12.14 MB / 474.1 MB, free: 12.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.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: 9.701100694015622]