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.001475/0.001475, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001624/0.001624, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.387/1.387, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.001993/0.001993, allocations: 75.81 kB / 374.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.0932, allocations: 53.31 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002958/0.09616, allocations: 1.634 MB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1727/0.2688, allocations: 3.226 MB / 432.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2689, allocations: 1.781 kB / 432.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.2692, allocations: 57.2 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.2693, allocations: 10.36 kB / 433 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.2721, allocations: 1.427 MB / 434.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.2723, allocations: 147.9 kB / 434.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.2724, allocations: 16.91 kB / 434.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.2724, allocations: 60.83 kB / 434.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.2725, allocations: 49 kB / 434.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2725, allocations: 10.23 kB / 434.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.274, allocations: 1.389 MB / 436.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2741, allocations: 40.08 kB / 436.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.2741, allocations: 51.42 kB / 436.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2753, allocations: 1.206 MB / 437.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2753, allocations: 0.5312 kB / 437.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2753, allocations: 0.5 kB / 437.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2753, allocations: 0.9062 kB / 437.4 MB, free: 7.953 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.0008584/0.2762, allocations: 0.5654 MB / 437.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2762, allocations: 10.16 kB / 437.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.2763, allocations: 16.19 kB / 437.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2764, allocations: 223.5 kB / 438.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2764, allocations: 7.984 kB / 438.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.2765, allocations: 9.203 kB / 438.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.2767, allocations: 132.3 kB / 438.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2767, allocations: 4.734 kB / 438.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2767, allocations: 1.969 kB / 438.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2767, allocations: 1.656 kB / 438.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2769, allocations: 56.72 kB / 438.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.2773, allocations: 388.2 kB / 438.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.2777, allocations: 124 kB / 438.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.2778, allocations: 42.66 kB / 438.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.2778, allocations: 1.375 kB / 438.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.2778, allocations: 37.64 kB / 439 MB, free: 6.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.103e-06/0.2778, allocations: 4 kB / 439 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001915/0.2797, allocations: 1.212 MB / 440.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2797, allocations: 131.8 kB / 440.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2799, allocations: 174.7 kB / 440.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2799, allocations: 34.67 kB / 440.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2799, allocations: 117.4 kB / 440.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.28, allocations: 50.52 kB / 440.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.28, allocations: 51.86 kB / 440.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.2801, allocations: 323.8 kB / 441 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2802, allocations: 98.38 kB / 441.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2804, allocations: 135.7 kB / 441.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2807, allocations: 206.2 kB / 441.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2807, allocations: 4 kB / 441.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004712/0.2811, allocations: 302.1 kB / 441.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2811, allocations: 8.375 kB / 441.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.2812, allocations: 2.703 kB / 441.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.2813, allocations: 43.3 kB / 441.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2815, allocations: 34.27 kB / 441.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009274/0.2824, allocations: 1.506 MB / 443.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.2825, allocations: 14.23 kB / 443.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2825, allocations: 11.25 kB / 443.4 MB, free: 3.617 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 8.813e-05/0.2826, allocations: 133.2 kB / 443.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.2827, allocations: 15.02 kB / 443.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.2827, allocations: 26.16 kB / 443.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2827, allocations: 3.359 kB / 443.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2827, allocations: 0 / 443.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2827, allocations: 2.109 kB / 443.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2829, allocations: 253.3 kB / 443.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2829, allocations: 0.5625 kB / 443.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.2832, allocations: 54.05 kB / 443.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2832, allocations: 1.312 kB / 443.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2832, allocations: 4.875 kB / 443.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2832, allocations: 1.25 kB / 443.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2832, allocations: 0.5625 kB / 443.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.2837, allocations: 419.1 kB / 444.3 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.2837, allocations: 88.2 kB / 444.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2837, allocations: 6.922 kB / 444.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2838, allocations: 6.969 kB / 444.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2838, allocations: 20.12 kB / 444.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.2839, allocations: 2.25 kB / 444.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.2839, allocations: 129.3 kB / 444.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2839, allocations: 1.156 kB / 444.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001876/0.2858, allocations: 0.513 MB / 445 MB, free: 2.785 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.00101/0.2868, allocations: 0.56 MB / 445.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005545/0.2874, allocations: 371.1 kB / 446 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.2874, allocations: 1.578 kB / 446 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2875, allocations: 81.59 kB / 446 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2878, allocations: 39.55 kB / 446.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.2884, allocations: 431.3 kB / 446.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2885, allocations: 0.7334 MB / 447.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.2886, allocations: 16.72 kB / 447.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2886, allocations: 4 kB / 447.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Templates: time 0.009105/0.2977, allocations: 6.199 MB / 453.5 MB, free: 15.94 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_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_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: 7.547282961197197]