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.008618/0.008618, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.002398/0.002398, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.459/1.459, allocations: 230.6 MB / 259 MB, free: 8.043 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.001985/0.001985, allocations: 71.88 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002995/0.262, allocations: 1.632 MB / 434.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005327/0.2673, allocations: 3.261 MB / 438.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2675, allocations: 3.938 kB / 438.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.2678, allocations: 59.7 kB / 438.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.2679, allocations: 15.86 kB / 438.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.2714, allocations: 1.471 MB / 439.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.2717, allocations: 151.6 kB / 439.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2718, allocations: 21.3 kB / 439.8 MB, free: 344 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.2719, allocations: 47.84 kB / 439.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.272, allocations: 67.69 kB / 439.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.272, allocations: 8 kB / 439.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.2739, allocations: 1.444 MB / 441.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.274, allocations: 35.84 kB / 441.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.2741, allocations: 51.67 kB / 441.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.2753, allocations: 1.214 MB / 442.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2754, allocations: 0 / 442.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2754, allocations: 0 / 442.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2754, allocations: 0 / 442.6 MB, free: 13.47 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.000996/0.2764, allocations: 0.5013 MB / 443.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2764, allocations: 8.031 kB / 443.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.2765, allocations: 16.84 kB / 443.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2767, allocations: 159 kB / 443.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2767, allocations: 384 / 443.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.2768, allocations: 12.38 kB / 443.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.277, allocations: 132.9 kB / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.277, allocations: 0 / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2771, allocations: 8 kB / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2771, allocations: 0 / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.2772, allocations: 55.95 kB / 443.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.2778, allocations: 355.5 kB / 443.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.2782, allocations: 126.6 kB / 444 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.2783, allocations: 40.83 kB / 444 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2783, allocations: 4.125 kB / 444 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2783, allocations: 38.56 kB / 444.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2783, allocations: 0 / 444.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002231/0.2806, allocations: 0.9998 MB / 445.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.2807, allocations: 136.5 kB / 445.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2809, allocations: 174.2 kB / 445.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.2809, allocations: 25.7 kB / 445.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.281, allocations: 116.5 kB / 445.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.281, allocations: 52.8 kB / 445.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.2811, allocations: 45.7 kB / 445.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2813, allocations: 330.8 kB / 445.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.2814, allocations: 95.94 kB / 446 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.2816, allocations: 139.2 kB / 446.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.282, allocations: 196.8 kB / 446.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.282, allocations: 3.938 kB / 446.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005652/0.2825, allocations: 310.1 kB / 446.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2825, allocations: 4 kB / 446.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2826, allocations: 4 kB / 446.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.2827, allocations: 44.81 kB / 446.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2829, allocations: 31.92 kB / 446.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.2843, allocations: 1.416 MB / 448.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.2844, allocations: 15.88 kB / 448.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2844, allocations: 8 kB / 448.2 MB, free: 7.5 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.0001427/0.2845, allocations: 134 kB / 448.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2846, allocations: 11.91 kB / 448.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.2846, allocations: 29.45 kB / 448.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2846, allocations: 0 / 448.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.2846, allocations: 0 / 448.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2846, allocations: 7.938 kB / 448.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2849, allocations: 216.6 kB / 448.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2849, allocations: 0 / 448.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.2852, allocations: 55.91 kB / 448.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2852, allocations: 0 / 448.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2852, allocations: 4 kB / 448.6 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2852, allocations: 4 kB / 448.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2852, allocations: 0 / 448.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.2858, allocations: 407.2 kB / 449 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.2858, allocations: 19.94 kB / 449.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2858, allocations: 8 kB / 449.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.286, allocations: 8 kB / 449.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.286, allocations: 12.06 kB / 449.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.286, allocations: 3.984 kB / 449.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.2861, allocations: 128.2 kB / 449.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2861, allocations: 0 / 449.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001423/0.2875, allocations: 0.5232 MB / 449.7 MB, free: 5.883 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.0009644/0.2885, allocations: 0.5343 MB / 450.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.2892, allocations: 373.9 kB / 450.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2892, allocations: 0 / 450.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2894, allocations: 87.88 kB / 450.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2897, allocations: 35.89 kB / 450.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.2904, allocations: 443.6 kB / 451.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.2908, allocations: 0.728 MB / 451.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.2909, allocations: 15.44 kB / 451.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2909, allocations: 0 / 451.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of Templates: time 0.01089/0.3018, allocations: 6.185 MB / 458.1 MB, free: 13.41 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 -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: 8.191710808081552]