Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 51.91 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2931, allocations: 52.18 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00289/0.296, allocations: 1.581 MB / 424.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.3011, allocations: 2.942 MB / 427.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3012, allocations: 3.938 kB / 427.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.3016, allocations: 55.7 kB / 427.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.3016, allocations: 15.86 kB / 427.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.3049, allocations: 1.469 MB / 429.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3052, allocations: 151.6 kB / 429.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.3053, allocations: 13.31 kB / 429.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.3053, allocations: 55.78 kB / 429.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.3054, allocations: 51.75 kB / 429.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.3055, allocations: 8 kB / 429.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.3073, allocations: 1.425 MB / 430.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.3074, allocations: 43.83 kB / 430.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3074, allocations: 39.73 kB / 430.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3087, allocations: 1.211 MB / 432.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3087, allocations: 0 / 432.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3087, allocations: 0 / 432.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3087, allocations: 0 / 432.1 MB, free: 5.375 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009264/0.3096, allocations: 0.5013 MB / 432.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3097, allocations: 8.031 kB / 432.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.3097, allocations: 24.84 kB / 432.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.31, allocations: 154.3 kB / 432.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.31, allocations: 11.94 kB / 432.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.31, allocations: 8 kB / 432.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.3104, allocations: 209.5 kB / 433 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3104, allocations: 0 / 433 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3104, allocations: 0 / 433 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3104, allocations: 4 kB / 433 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3105, allocations: 55.95 kB / 433.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.3111, allocations: 316.2 kB / 433.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3114, allocations: 126.5 kB / 433.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.3115, allocations: 36.84 kB / 433.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3115, allocations: 4.125 kB / 433.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3116, allocations: 42.55 kB / 433.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3116, allocations: 0 / 433.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00215/0.3137, allocations: 0.9884 MB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.3138, allocations: 136.5 kB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.314, allocations: 170.3 kB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.314, allocations: 37.7 kB / 434.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.3141, allocations: 108.5 kB / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3142, allocations: 59.53 kB / 435.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.3142, allocations: 45.7 kB / 435.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3144, allocations: 326.8 kB / 435.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3146, allocations: 95.88 kB / 435.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3148, allocations: 212.8 kB / 435.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3151, allocations: 200.8 kB / 435.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3151, allocations: 3.938 kB / 435.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005365/0.3157, allocations: 318.2 kB / 436.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3157, allocations: 4 kB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.3157, allocations: 8 kB / 436.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.3159, allocations: 40.81 kB / 436.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3161, allocations: 35.92 kB / 436.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3175, allocations: 1.381 MB / 437.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.3176, allocations: 11.97 kB / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3176, allocations: 4 kB / 437.7 MB, free: 15.32 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3177, allocations: 135.9 kB / 437.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.3178, allocations: 19.89 kB / 437.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.3178, allocations: 29.41 kB / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3178, allocations: 0 / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3179, allocations: 0 / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3179, allocations: 8.031 kB / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3181, allocations: 169.2 kB / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3181, allocations: 0 / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.3184, allocations: 51.91 kB / 438.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3184, allocations: 4 kB / 438.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3184, allocations: 4 kB / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3184, allocations: 0 / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3184, allocations: 3.984 kB / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.319, allocations: 414.5 kB / 438.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.319, allocations: 15.98 kB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.319, allocations: 8 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3191, allocations: 4 kB / 438.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3191, allocations: 8.125 kB / 438.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3192, allocations: 11.97 kB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3193, allocations: 132.2 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3193, allocations: 0 / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00133/0.3206, allocations: 0.5193 MB / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.00103/0.3216, allocations: 0.556 MB / 439.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006746/0.3223, allocations: 373.9 kB / 440.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3223, allocations: 0 / 440.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3225, allocations: 95.81 kB / 440.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3228, allocations: 23.98 kB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.3235, allocations: 409.9 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3236, allocations: 122.6 kB / 440.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.554e-05/0.3237, allocations: 29.06 kB / 440.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.3237, allocations: 15.44 kB / 440.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3237, allocations: 0 / 440.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01427/0.338, allocations: 8.091 MB / 449 MB, free: 3.996 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.900400955229998]