Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001321/0.001321, allocations: 106.3 kB / 22.17 MB, free: 5.191 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.001384/0.001384, allocations: 209.9 kB / 25.51 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.552/1.552, allocations: 230.5 MB / 259.2 MB, free: 7.867 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.84 kB / 380 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3043, allocations: 53.35 MB / 433.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003866/0.3082, allocations: 1.648 MB / 435 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.3141, allocations: 3.245 MB / 438.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.3143, allocations: 3.938 kB / 438.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.3148, allocations: 63.69 kB / 438.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3149, allocations: 7.875 kB / 438.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.3194, allocations: 1.462 MB / 439.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3197, allocations: 151.6 kB / 440 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3198, allocations: 17.09 kB / 440 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.3199, allocations: 55.84 kB / 440 MB, free: 312 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.32, allocations: 63.62 kB / 440.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.32, allocations: 8 kB / 440.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.322, allocations: 1.44 MB / 441.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.3221, allocations: 35.86 kB / 441.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.3222, allocations: 55.66 kB / 441.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3236, allocations: 1.216 MB / 442.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3236, allocations: 4 kB / 442.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3236, allocations: 0 / 442.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3236, allocations: 0 / 442.8 MB, free: 13.48 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.001062/0.3247, allocations: 0.5611 MB / 443.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3247, allocations: 19.97 kB / 443.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.3248, allocations: 16.84 kB / 443.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3251, allocations: 228.5 kB / 443.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3251, allocations: 4.375 kB / 443.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.3252, allocations: 12.36 kB / 443.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3254, allocations: 121 kB / 443.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3254, allocations: 8 kB / 443.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.3254, allocations: 4 kB / 443.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3254, allocations: 0 / 443.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3256, allocations: 58.91 kB / 443.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.3262, allocations: 384.5 kB / 444.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.3266, allocations: 130.5 kB / 444.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.3267, allocations: 36.83 kB / 444.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3267, allocations: 4 kB / 444.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3267, allocations: 34.56 kB / 444.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3267, allocations: 0 / 444.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002366/0.3291, allocations: 1.219 MB / 445.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3292, allocations: 136.5 kB / 445.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3294, allocations: 174.3 kB / 446 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3294, allocations: 29.7 kB / 446 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3295, allocations: 112.8 kB / 446.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.3295, allocations: 47.59 kB / 446.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.3296, allocations: 45.7 kB / 446.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3298, allocations: 326.8 kB / 446.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.33, allocations: 103.9 kB / 446.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3302, allocations: 139.2 kB / 446.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3305, allocations: 201.6 kB / 447 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3305, allocations: 0 / 447 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000579/0.3311, allocations: 309.1 kB / 447.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3311, allocations: 6.188 kB / 447.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.3311, allocations: 8 kB / 447.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.3313, allocations: 48.75 kB / 447.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3315, allocations: 27.98 kB / 447.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.3329, allocations: 1.52 MB / 448.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.333, allocations: 7.969 kB / 448.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3331, allocations: 8 kB / 448.9 MB, free: 6.922 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.0001635/0.3332, allocations: 135.8 kB / 449 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3333, allocations: 15.91 kB / 449 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3333, allocations: 29.52 kB / 449.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3333, allocations: 0 / 449.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3333, allocations: 3.938 kB / 449.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3333, allocations: 7.938 kB / 449.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3337, allocations: 245.5 kB / 449.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3337, allocations: 0 / 449.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.334, allocations: 47.97 kB / 449.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.334, allocations: 8 kB / 449.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.334, allocations: 4 kB / 449.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.334, allocations: 3.984 kB / 449.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.334, allocations: 0 / 449.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.3346, allocations: 415.1 kB / 449.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.3347, allocations: 93.05 kB / 449.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3347, allocations: 4 kB / 449.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3348, allocations: 12 kB / 449.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3349, allocations: 11.92 kB / 449.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3349, allocations: 7.984 kB / 449.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.335, allocations: 120.2 kB / 450 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 450 MB, free: 5.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001667/0.3367, allocations: 0.5194 MB / 450.5 MB, free: 5.168 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.001191/0.3379, allocations: 0.5545 MB / 451.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007816/0.3386, allocations: 377.9 kB / 451.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3386, allocations: 0 / 451.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3388, allocations: 83.88 kB / 451.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3391, allocations: 27.98 kB / 451.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.34, allocations: 405.2 kB / 452 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3403, allocations: 0.7319 MB / 452.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.3405, allocations: 37.14 kB / 452.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3405, allocations: 15.44 kB / 452.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3405, allocations: 0 / 452.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Templates: time 0.01783/0.3583, allocations: 8.008 MB / 460.8 MB, free: 10.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.964531177000026]