Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001369/0.001369, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001544/0.001544, allocations: 204.7 kB / 23.72 MB, free: 4.391 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.275, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002809/0.2778, allocations: 1.601 MB / 433.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00522/0.283, allocations: 2.984 MB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2832, allocations: 3.938 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.2835, allocations: 63.75 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.2835, allocations: 11.88 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.2873, allocations: 1.476 MB / 437.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.2876, allocations: 143.7 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2877, allocations: 25.23 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2878, allocations: 55.83 kB / 438 MB, free: 144 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2879, allocations: 51.77 kB / 438 MB, free: 92 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2879, allocations: 8 kB / 438 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.29, allocations: 1.432 MB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.2901, allocations: 39.84 kB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.2902, allocations: 43.67 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2915, allocations: 1.211 MB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2915, allocations: 4 kB / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2915, allocations: 0 / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2915, allocations: 0 / 440.8 MB, free: 13.35 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001009/0.2925, allocations: 0.4936 MB / 441.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2926, allocations: 15.98 kB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2926, allocations: 16.84 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2929, allocations: 151 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2929, allocations: 8.375 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.293, allocations: 12.38 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.2933, allocations: 202.1 kB / 441.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2933, allocations: 0 / 441.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.2933, allocations: 11.94 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2933, allocations: 3.938 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.2935, allocations: 59.95 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.2941, allocations: 308.3 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.2945, allocations: 126.5 kB / 442.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.2946, allocations: 32.84 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2947, allocations: 4 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2947, allocations: 42.55 kB / 442.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2947, allocations: 0 / 442.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002378/0.2971, allocations: 0.993 MB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2972, allocations: 132.6 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2974, allocations: 186.2 kB / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2974, allocations: 33.64 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2975, allocations: 116.4 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.2976, allocations: 47.59 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.2976, allocations: 45.7 kB / 443.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2978, allocations: 326.8 kB / 444.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.298, allocations: 99.94 kB / 444.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.2983, allocations: 215.8 kB / 444.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.2986, allocations: 208.9 kB / 444.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2986, allocations: 0 / 444.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005618/0.2992, allocations: 306.2 kB / 444.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2992, allocations: 7.938 kB / 444.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2992, allocations: 4 kB / 444.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.2994, allocations: 40.81 kB / 445 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2996, allocations: 31.98 kB / 445 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.301, allocations: 1.389 MB / 446.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.3011, allocations: 8.031 kB / 446.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3011, allocations: 4 kB / 446.4 MB, free: 7.301 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.0001511/0.3013, allocations: 141.7 kB / 446.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.3013, allocations: 24.05 kB / 446.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.3014, allocations: 25.47 kB / 446.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3014, allocations: 0 / 446.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3014, allocations: 0 / 446.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3014, allocations: 0 / 446.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3017, allocations: 177.2 kB / 446.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3017, allocations: 0 / 446.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.302, allocations: 47.97 kB / 446.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.302, allocations: 0 / 446.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.302, allocations: 4 kB / 446.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.302, allocations: 7.984 kB / 446.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.302, allocations: 4 kB / 446.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.3026, allocations: 414.3 kB / 447.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.3026, allocations: 15.89 kB / 447.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3026, allocations: 8 kB / 447.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3027, allocations: 4 kB / 447.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3028, allocations: 11.98 kB / 447.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3028, allocations: 7.984 kB / 447.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.3029, allocations: 124.2 kB / 447.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 0 / 447.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001608/0.3045, allocations: 0.5233 MB / 447.9 MB, free: 5.73 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.001011/0.3055, allocations: 0.5303 MB / 448.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007261/0.3062, allocations: 369.9 kB / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3062, allocations: 0 / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3064, allocations: 91.88 kB / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3067, allocations: 35.23 kB / 448.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3075, allocations: 398.1 kB / 449.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.3076, allocations: 122.5 kB / 449.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.3077, allocations: 37.08 kB / 449.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.3078, allocations: 15.44 kB / 449.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3078, allocations: 4 kB / 449.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01575/0.3235, allocations: 8.098 MB / 457.6 MB, free: 11.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.963011471554637]