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.001881/0.001881, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001847/0.001847, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 8.062 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.001951/0.001951, allocations: 64.77 kB / 379 MB, free: 2.652 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2419, allocations: 53.38 MB / 432.4 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00285/0.2447, allocations: 1.64 MB / 434 MB, free: 5.293 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005184/0.2499, allocations: 3.253 MB / 437.3 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.25, allocations: 3.938 kB / 437.3 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.2503, allocations: 63.69 kB / 437.4 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.2504, allocations: 7.875 kB / 437.4 MB, free: 1.957 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.2537, allocations: 1.479 MB / 438.8 MB, free: 496 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000236/0.2539, allocations: 147.6 kB / 439 MB, free: 348 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.254, allocations: 17.3 kB / 439 MB, free: 328 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.2541, allocations: 59.77 kB / 439.1 MB, free: 268 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.2542, allocations: 47.78 kB / 439.1 MB, free: 220 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.2542, allocations: 8 kB / 439.1 MB, free: 212 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.256, allocations: 1.448 MB / 440.6 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.256, allocations: 35.86 kB / 440.6 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.2561, allocations: 59.66 kB / 440.7 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001226/0.2573, allocations: 1.216 MB / 441.9 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2573, allocations: 0 / 441.9 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.112e-06/0.2573, allocations: 0 / 441.9 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.119e-06/0.2573, allocations: 0 / 441.9 MB, free: 13.45 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.0009222/0.2583, allocations: 0.4935 MB / 442.4 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2583, allocations: 8.031 kB / 442.4 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.2583, allocations: 16.84 kB / 442.4 MB, free: 12.9 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2586, allocations: 163 kB / 442.6 MB, free: 12.72 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2586, allocations: 8.375 kB / 442.6 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.2586, allocations: 16.36 kB / 442.6 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.2589, allocations: 125 kB / 442.7 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2589, allocations: 0 / 442.7 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2589, allocations: 4 kB / 442.7 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2589, allocations: 8 kB / 442.7 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.259, allocations: 51.95 kB / 442.8 MB, free: 12.49 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.2596, allocations: 359.5 kB / 443.1 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.26, allocations: 122.6 kB / 443.2 MB, free: 11.97 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.2601, allocations: 48.95 kB / 443.3 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.2601, allocations: 0 / 443.3 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2601, allocations: 30.56 kB / 443.3 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2601, allocations: 4 kB / 443.3 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002171/0.2623, allocations: 0.9993 MB / 444.3 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.2624, allocations: 128.5 kB / 444.4 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2625, allocations: 186.2 kB / 444.6 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2626, allocations: 25.7 kB / 444.6 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.2627, allocations: 116.5 kB / 444.8 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.2627, allocations: 47.59 kB / 444.8 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.2628, allocations: 45.7 kB / 444.9 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001451/0.2629, allocations: 322.8 kB / 445.2 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2631, allocations: 95.94 kB / 445.3 MB, free: 9.789 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2633, allocations: 143.3 kB / 445.4 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2636, allocations: 200.7 kB / 445.6 MB, free: 9.438 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2636, allocations: 3.938 kB / 445.6 MB, free: 9.434 MB / 350.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005607/0.2642, allocations: 306.4 kB / 445.9 MB, free: 9.125 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2642, allocations: 4 kB / 445.9 MB, free: 9.121 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2642, allocations: 0 / 445.9 MB, free: 9.121 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.2644, allocations: 48.81 kB / 446 MB, free: 9.07 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2646, allocations: 35.92 kB / 446 MB, free: 9.035 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.266, allocations: 1.417 MB / 447.4 MB, free: 7.504 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.266, allocations: 11.95 kB / 447.4 MB, free: 7.492 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2661, allocations: 8 kB / 447.4 MB, free: 7.484 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.0001384/0.2662, allocations: 129.8 kB / 447.6 MB, free: 7.348 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.2662, allocations: 20 kB / 447.6 MB, free: 7.328 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.2663, allocations: 29.45 kB / 447.6 MB, free: 7.301 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2663, allocations: 0 / 447.6 MB, free: 7.301 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.2663, allocations: 0 / 447.6 MB, free: 7.301 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2663, allocations: 3.938 kB / 447.6 MB, free: 7.297 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.2666, allocations: 216.6 kB / 447.8 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2666, allocations: 4 kB / 447.8 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.2669, allocations: 51.91 kB / 447.9 MB, free: 6.988 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2669, allocations: 0 / 447.9 MB, free: 6.988 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2669, allocations: 7.938 kB / 447.9 MB, free: 6.98 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2669, allocations: 4 kB / 447.9 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2669, allocations: 0 / 447.9 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2674, allocations: 411.2 kB / 448.3 MB, free: 6.559 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.2675, allocations: 11.91 kB / 448.3 MB, free: 6.547 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2675, allocations: 8 kB / 448.3 MB, free: 6.539 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2676, allocations: 8.031 kB / 448.3 MB, free: 6.531 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.2676, allocations: 15.86 kB / 448.3 MB, free: 6.516 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2677, allocations: 8 kB / 448.3 MB, free: 6.508 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001363/0.2678, allocations: 128.2 kB / 448.5 MB, free: 6.383 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2678, allocations: 0 / 448.5 MB, free: 6.383 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.001308/0.2691, allocations: 0.5193 MB / 449 MB, free: 5.863 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.0009358/0.27, allocations: 0.5303 MB / 449.5 MB, free: 5.324 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006745/0.2707, allocations: 373.9 kB / 449.9 MB, free: 4.934 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2707, allocations: 4 kB / 449.9 MB, free: 4.93 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2709, allocations: 79.89 kB / 450 MB, free: 4.852 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2712, allocations: 39.42 kB / 450 MB, free: 4.816 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.2719, allocations: 401.9 kB / 450.4 MB, free: 4.395 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.2723, allocations: 0.7319 MB / 451.1 MB, free: 3.637 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.388e-05/0.2724, allocations: 37.05 kB / 451.2 MB, free: 3.598 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.2725, allocations: 15.44 kB / 451.2 MB, free: 3.582 MB / 350.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2725, allocations: 0 / 451.2 MB, free: 3.582 MB / 350.1 MB
Notification: Performance of Templates: time 0.0145/0.2869, allocations: 8.002 MB / 459.2 MB, free: 11.59 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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.5857235277071595]