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.001544/0.001544, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001743/0.001743, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.52/1.52, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.001923/0.001923, allocations: 63.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.31 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00303/0.112, allocations: 1.628 MB / 429.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.3165, allocations: 3.226 MB / 432.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3166, allocations: 2.938 kB / 432.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.317, allocations: 51.55 kB / 432.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.317, allocations: 12.06 kB / 432.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.3205, allocations: 1.426 MB / 434.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3207, allocations: 152.5 kB / 434.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3208, allocations: 16.16 kB / 434.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.3209, allocations: 56.78 kB / 434.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.321, allocations: 57.92 kB / 434.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.321, allocations: 7.219 kB / 434.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3231, allocations: 1.388 MB / 435.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.3232, allocations: 39.97 kB / 435.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.3233, allocations: 49.31 kB / 435.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3248, allocations: 1.21 MB / 437.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3248, allocations: 0 / 437.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3248, allocations: 3.5 kB / 437.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3248, allocations: 1.125 kB / 437.1 MB, free: 8.457 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.001076/0.3258, allocations: 0.5629 MB / 437.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3259, allocations: 10.16 kB / 437.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3259, allocations: 15.69 kB / 437.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3261, allocations: 225 kB / 438 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3262, allocations: 10.17 kB / 438 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.3262, allocations: 7.469 kB / 438 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3264, allocations: 132.9 kB / 438.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3264, allocations: 4.047 kB / 438.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3265, allocations: 0.875 kB / 438.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3265, allocations: 5.156 kB / 438.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3266, allocations: 54.52 kB / 438.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.3271, allocations: 387.8 kB / 438.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3275, allocations: 124.9 kB / 438.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.3276, allocations: 41.47 kB / 438.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3276, allocations: 5.125 kB / 438.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3276, allocations: 33.31 kB / 438.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3276, allocations: 4.531 kB / 438.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002128/0.3298, allocations: 1.215 MB / 440 MB, free: 6.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.3298, allocations: 134.6 kB / 440.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.33, allocations: 175.8 kB / 440.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.33, allocations: 30.89 kB / 440.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.33, allocations: 106.4 kB / 440.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3301, allocations: 56.77 kB / 440.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.3302, allocations: 47.67 kB / 440.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.3302, allocations: 327.7 kB / 440.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3304, allocations: 93.03 kB / 440.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3306, allocations: 139.6 kB / 441 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3309, allocations: 202.7 kB / 441.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3309, allocations: 4 kB / 441.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005267/0.3314, allocations: 311.8 kB / 441.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3314, allocations: 9.344 kB / 441.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3315, allocations: 3.312 kB / 441.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.3317, allocations: 41.12 kB / 441.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3318, allocations: 34.03 kB / 441.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.333, allocations: 1.512 MB / 443.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.3331, allocations: 11.33 kB / 443.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3331, allocations: 11.78 kB / 443.2 MB, free: 3.859 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.0001064/0.3332, allocations: 133.8 kB / 443.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3332, allocations: 14.31 kB / 443.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3333, allocations: 27 kB / 443.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3333, allocations: 4.094 kB / 443.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3333, allocations: 0.9688 kB / 443.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3333, allocations: 1.406 kB / 443.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3336, allocations: 254 kB / 443.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3336, allocations: 0 / 443.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3338, allocations: 54.12 kB / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3338, allocations: 1.156 kB / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3339, allocations: 2.391 kB / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3339, allocations: 0 / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3339, allocations: 1.094 kB / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.3344, allocations: 419.9 kB / 444.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.3344, allocations: 90.56 kB / 444.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3344, allocations: 3.281 kB / 444.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3345, allocations: 7.891 kB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3346, allocations: 8.609 kB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3346, allocations: 3.281 kB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.3347, allocations: 132 kB / 444.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3347, allocations: 0 / 444.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002548/0.3372, allocations: 0.5188 MB / 444.8 MB, free: 3.023 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.001342/0.3385, allocations: 0.5526 MB / 445.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.3392, allocations: 372.8 kB / 445.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3392, allocations: 0 / 445.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3394, allocations: 85.48 kB / 445.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3397, allocations: 40.53 kB / 445.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.3403, allocations: 439.1 kB / 446.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3405, allocations: 0.7342 MB / 447 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.3406, allocations: 20.16 kB / 447 MB, free: 1.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3406, allocations: 0 / 447 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Templates: time 0.01154/0.3521, allocations: 6.196 MB / 453.2 MB, free: 160 kB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.32738302508369]