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.005068/0.005068, allocations: 104 kB / 21.97 MB, free: 5.25 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.001439/0.001439, allocations: 214.6 kB / 25.29 MB, free: 3.211 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.4/1.4, allocations: 230.5 MB / 258.9 MB, free: 7.902 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.001949/0.001949, allocations: 61 kB / 379.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 53.36 MB / 433.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003175/0.3144, allocations: 1.632 MB / 434.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.3202, allocations: 3.265 MB / 438 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3204, allocations: 3.938 kB / 438 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.3207, allocations: 55.77 kB / 438 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.3208, allocations: 11.86 kB / 438 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.3247, allocations: 1.47 MB / 439.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.325, allocations: 151.6 kB / 439.6 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3251, allocations: 17.31 kB / 439.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.3251, allocations: 59.83 kB / 439.7 MB, free: 392 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3252, allocations: 51.7 kB / 439.8 MB, free: 340 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3253, allocations: 8 kB / 439.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3272, allocations: 1.448 MB / 441.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.3273, allocations: 35.84 kB / 441.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.3273, allocations: 51.67 kB / 441.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3287, allocations: 1.214 MB / 442.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3287, allocations: 0 / 442.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3287, allocations: 0 / 442.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3287, allocations: 0 / 442.5 MB, free: 13.57 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.001035/0.3298, allocations: 0.5675 MB / 443.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3298, allocations: 12.03 kB / 443.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.3299, allocations: 12.84 kB / 443.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3302, allocations: 228.5 kB / 443.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3302, allocations: 8.375 kB / 443.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3302, allocations: 8.375 kB / 443.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3305, allocations: 132.9 kB / 443.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3305, allocations: 4 kB / 443.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3305, allocations: 4 kB / 443.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3305, allocations: 0 / 443.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3307, allocations: 55.95 kB / 443.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.3313, allocations: 388.5 kB / 443.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.3317, allocations: 122.6 kB / 444 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.3318, allocations: 36.84 kB / 444.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3319, allocations: 4 kB / 444.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3319, allocations: 34.73 kB / 444.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.3319, allocations: 4 kB / 444.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002483/0.3344, allocations: 1.229 MB / 445.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3345, allocations: 132.5 kB / 445.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3347, allocations: 174.2 kB / 445.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3347, allocations: 29.7 kB / 445.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.3348, allocations: 112.5 kB / 445.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.3349, allocations: 47.59 kB / 445.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.335, allocations: 53.7 kB / 445.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3351, allocations: 322.8 kB / 446.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3353, allocations: 99.94 kB / 446.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3355, allocations: 127.3 kB / 446.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.3359, allocations: 200.8 kB / 446.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3359, allocations: 4 kB / 446.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000598/0.3365, allocations: 318.2 kB / 446.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3365, allocations: 4 kB / 446.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.3365, allocations: 4 kB / 446.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.3367, allocations: 44.81 kB / 447 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3369, allocations: 27.98 kB / 447 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.3384, allocations: 1.519 MB / 448.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3385, allocations: 17.34 kB / 448.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3385, allocations: 4 kB / 448.6 MB, free: 7.004 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.0001575/0.3387, allocations: 137.8 kB / 448.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.3387, allocations: 15.91 kB / 448.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.3388, allocations: 25.45 kB / 448.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3388, allocations: 0 / 448.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3388, allocations: 0 / 448.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3388, allocations: 3.938 kB / 448.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.3391, allocations: 253.5 kB / 449 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3391, allocations: 0 / 449 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3394, allocations: 51.97 kB / 449 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3394, allocations: 0 / 449 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3394, allocations: 4 kB / 449 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3394, allocations: 7.875 kB / 449 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3394, allocations: 0 / 449 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.34, allocations: 417.8 kB / 449.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.3401, allocations: 89.02 kB / 449.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3401, allocations: 4 kB / 449.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3402, allocations: 8.031 kB / 449.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3403, allocations: 11.92 kB / 449.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3403, allocations: 8 kB / 449.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3404, allocations: 124.2 kB / 449.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 0 / 449.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001555/0.3419, allocations: 0.5155 MB / 450.2 MB, free: 5.262 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.001146/0.3431, allocations: 0.5542 MB / 450.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007035/0.3438, allocations: 374 kB / 451.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3438, allocations: 0 / 451.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.344, allocations: 82.56 kB / 451.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3443, allocations: 39.97 kB / 451.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.345, allocations: 405.8 kB / 451.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3455, allocations: 0.7319 MB / 452.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.3456, allocations: 41.08 kB / 452.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.3456, allocations: 15.44 kB / 452.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3456, allocations: 0 / 452.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Templates: time 0.01561/0.3612, allocations: 7.99 MB / 460.4 MB, free: 10.97 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.532172109931707]