Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2818, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003203/0.285, allocations: 1.635 MB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.2907, allocations: 3.256 MB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2908, allocations: 7.938 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.2912, allocations: 63.64 kB / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.2913, allocations: 19.84 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.2953, allocations: 1.465 MB / 438.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.2956, allocations: 151.6 kB / 439 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2958, allocations: 25.3 kB / 439 MB, free: 348 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.951e-05/0.2959, allocations: 47.84 kB / 439 MB, free: 300 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.296, allocations: 63.69 kB / 439.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.296, allocations: 8 kB / 439.1 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.2981, allocations: 1.444 MB / 440.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2982, allocations: 39.83 kB / 440.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.2982, allocations: 51.67 kB / 440.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2996, allocations: 1.208 MB / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2996, allocations: 0 / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2996, allocations: 0 / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2996, allocations: 4 kB / 441.9 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.00104/0.3006, allocations: 0.4974 MB / 442.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3007, allocations: 8.031 kB / 442.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.3007, allocations: 16.84 kB / 442.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.301, allocations: 159 kB / 442.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.301, allocations: 8.375 kB / 442.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.301, allocations: 8.375 kB / 442.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3013, allocations: 132.9 kB / 442.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3013, allocations: 4 kB / 442.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3014, allocations: 4 kB / 442.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3014, allocations: 0 / 442.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3015, allocations: 55.95 kB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.3022, allocations: 359.6 kB / 443.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.3026, allocations: 122.6 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.3027, allocations: 37.02 kB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3027, allocations: 7.938 kB / 443.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3027, allocations: 38.56 kB / 443.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3027, allocations: 3.938 kB / 443.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002253/0.305, allocations: 0.9948 MB / 444.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.3051, allocations: 136.5 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3053, allocations: 174.2 kB / 444.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.3053, allocations: 29.7 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.3054, allocations: 112.5 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.3054, allocations: 59.58 kB / 444.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.3055, allocations: 41.7 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3057, allocations: 330.8 kB / 445.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3059, allocations: 91.95 kB / 445.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3061, allocations: 139.2 kB / 445.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.3064, allocations: 208.7 kB / 445.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3064, allocations: 0 / 445.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005782/0.307, allocations: 306.1 kB / 445.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.307, allocations: 4 kB / 445.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.307, allocations: 7.984 kB / 445.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.3072, allocations: 40.83 kB / 445.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3074, allocations: 31.92 kB / 446 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.3088, allocations: 1.42 MB / 447.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.3089, allocations: 7.969 kB / 447.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3089, allocations: 11.98 kB / 447.4 MB, free: 7.504 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.00014/0.3091, allocations: 131 kB / 447.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3091, allocations: 11.91 kB / 447.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.3092, allocations: 25.47 kB / 447.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3092, allocations: 4 kB / 447.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3092, allocations: 0 / 447.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3092, allocations: 8 kB / 447.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.3095, allocations: 220.6 kB / 447.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3095, allocations: 0 / 447.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.3097, allocations: 51.91 kB / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3097, allocations: 0 / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3098, allocations: 8 kB / 447.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3098, allocations: 3.984 kB / 447.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3098, allocations: 0 / 447.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.3103, allocations: 415.2 kB / 448.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.3104, allocations: 15.91 kB / 448.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3104, allocations: 0 / 448.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3105, allocations: 12 kB / 448.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3105, allocations: 12.06 kB / 448.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3106, allocations: 11.97 kB / 448.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3107, allocations: 120.2 kB / 448.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3107, allocations: 3.938 kB / 448.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001699/0.3124, allocations: 0.5194 MB / 449 MB, free: 5.887 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.001068/0.3134, allocations: 0.5381 MB / 449.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.3142, allocations: 377 kB / 449.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3142, allocations: 0 / 449.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3144, allocations: 90.92 kB / 450 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.0003602/0.3147, allocations: 23.98 kB / 450 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.3155, allocations: 439.6 kB / 450.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3159, allocations: 0.7319 MB / 451.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.316, allocations: 15.44 kB / 451.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.316, allocations: 0 / 451.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of Templates: time 0.01147/0.3274, allocations: 6.183 MB / 457.3 MB, free: 13.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.075283207930624]