Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001732/0.001732, allocations: 83.16 kB / 22 MB, free: 5.18 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.00206/0.00206, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2153, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002863/0.2182, allocations: 1.574 MB / 350.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.2233, allocations: 2.987 MB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.2234, allocations: 4 kB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.2237, allocations: 59.69 kB / 353.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.2238, allocations: 11.88 kB / 353.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.2272, allocations: 1.472 MB / 354.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2275, allocations: 147.7 kB / 354.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2276, allocations: 21.23 kB / 354.8 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2277, allocations: 55.83 kB / 354.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2278, allocations: 47.77 kB / 354.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2278, allocations: 8 kB / 354.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.2296, allocations: 1.425 MB / 356.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.2297, allocations: 39.86 kB / 356.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.2298, allocations: 43.67 kB / 356.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.231, allocations: 1.216 MB / 357.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.231, allocations: 7.938 kB / 357.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.231, allocations: 0 / 357.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2311, allocations: 0 / 357.6 MB, free: 6.383 MB / 318.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.0008964/0.2319, allocations: 0.4896 MB / 358.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.232, allocations: 15.98 kB / 358.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.232, allocations: 16.84 kB / 358.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2323, allocations: 150.3 kB / 358.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.2323, allocations: 8.375 kB / 358.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.2323, allocations: 20.27 kB / 358.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2326, allocations: 198.1 kB / 358.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2326, allocations: 0 / 358.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.2327, allocations: 11.98 kB / 358.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2327, allocations: 0 / 358.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2328, allocations: 51.97 kB / 358.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.2334, allocations: 320.2 kB / 358.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2338, allocations: 122.5 kB / 359 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.2339, allocations: 36.83 kB / 359 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2339, allocations: 4 kB / 359 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2339, allocations: 34.56 kB / 359.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2339, allocations: 0 / 359.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002178/0.2361, allocations: 0.9975 MB / 360.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.2362, allocations: 128.6 kB / 360.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2363, allocations: 178.2 kB / 360.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2364, allocations: 29.7 kB / 360.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.2365, allocations: 120.5 kB / 360.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.2365, allocations: 55.53 kB / 360.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.2366, allocations: 41.72 kB / 360.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2367, allocations: 330.8 kB / 360.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2369, allocations: 95.94 kB / 361 MB, free: 2.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2371, allocations: 204.5 kB / 361.2 MB, free: 2.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2375, allocations: 213.5 kB / 361.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2375, allocations: 3.938 kB / 361.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005615/0.238, allocations: 310.2 kB / 361.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.238, allocations: 7.938 kB / 361.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2381, allocations: 4 kB / 361.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.2382, allocations: 44.75 kB / 361.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2384, allocations: 31.98 kB / 361.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.2398, allocations: 1.393 MB / 363.2 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2399, allocations: 4.031 kB / 363.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2399, allocations: 8 kB / 363.2 MB, free: 328 kB / 318.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.0001446/0.24, allocations: 133.8 kB / 363.4 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2401, allocations: 15.91 kB / 363.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.2401, allocations: 29.45 kB / 363.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2401, allocations: 0 / 363.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.2401, allocations: 0 / 363.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2402, allocations: 0 / 363.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.2404, allocations: 181.3 kB / 363.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2404, allocations: 0 / 363.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.2408, allocations: 51.91 kB / 363.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2408, allocations: 0 / 363.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2408, allocations: 4 kB / 363.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2408, allocations: 4 kB / 363.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2408, allocations: 0 / 363.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.2413, allocations: 403.2 kB / 364 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.2414, allocations: 19.84 kB / 364 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2414, allocations: 4.047 kB / 364.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2415, allocations: 15.98 kB / 364.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2415, allocations: 11.98 kB / 364.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2415, allocations: 4 kB / 364.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2416, allocations: 127.2 kB / 364.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2416, allocations: 0 / 364.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001367/0.243, allocations: 0.5232 MB / 364.7 MB, free: 14.75 MB / 334.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.001052/0.2441, allocations: 0.5461 MB / 365.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.2447, allocations: 381.8 kB / 365.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2447, allocations: 0 / 365.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2449, allocations: 83.89 kB / 365.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2452, allocations: 35.89 kB / 365.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.2459, allocations: 413.8 kB / 366.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.246, allocations: 126.7 kB / 366.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.2461, allocations: 33.2 kB / 366.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.2462, allocations: 16.5 kB / 366.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2462, allocations: 0 / 366.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Templates: time 0.01419/0.2604, allocations: 7.999 MB / 374.3 MB, free: 5.051 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.488840096048079]