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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 108.5 kB / 21.18 MB, free: 0.7148 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 189.2 kB / 24.47 MB, free: 4.086 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.68/1.68, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 61.33 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3208, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002695/0.3235, allocations: 1.597 MB / 398.4 MB, free: 8.422 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005096/0.3286, allocations: 3.258 MB / 401.6 MB, free: 6.441 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.3289, allocations: 10 kB / 401.7 MB, free: 6.434 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3294, allocations: 57.56 kB / 401.7 MB, free: 6.398 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.3295, allocations: 19.39 kB / 401.7 MB, free: 6.383 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005484/0.335, allocations: 1.463 MB / 403.2 MB, free: 5.887 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003729/0.3353, allocations: 154.4 kB / 403.3 MB, free: 5.82 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3355, allocations: 23.31 kB / 403.4 MB, free: 5.809 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.3356, allocations: 57.94 kB / 403.4 MB, free: 5.785 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3357, allocations: 56.75 kB / 403.5 MB, free: 5.758 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.3357, allocations: 8.031 kB / 403.5 MB, free: 5.758 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.3384, allocations: 1.437 MB / 404.9 MB, free: 5.293 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3385, allocations: 39.47 kB / 405 MB, free: 5.273 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.3386, allocations: 51.61 kB / 405 MB, free: 5.238 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001663/0.3403, allocations: 1.215 MB / 406.2 MB, free: 5.02 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3403, allocations: 0 / 406.2 MB, free: 5.02 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3403, allocations: 4 kB / 406.2 MB, free: 5.016 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.554e-06/0.3403, allocations: 2.25 kB / 406.2 MB, free: 5.016 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.001148/0.3414, allocations: 0.4927 MB / 406.7 MB, free: 4.676 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3415, allocations: 13.02 kB / 406.7 MB, free: 4.672 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.3415, allocations: 17.25 kB / 406.8 MB, free: 4.664 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3418, allocations: 153.2 kB / 406.9 MB, free: 4.516 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3418, allocations: 4.438 kB / 406.9 MB, free: 4.516 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.3419, allocations: 18.58 kB / 406.9 MB, free: 4.504 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3421, allocations: 127.8 kB / 407.1 MB, free: 4.414 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3422, allocations: 0 / 407.1 MB, free: 4.414 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3422, allocations: 5.281 kB / 407.1 MB, free: 4.41 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3422, allocations: 2.438 kB / 407.1 MB, free: 4.41 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3423, allocations: 58.55 kB / 407.1 MB, free: 4.395 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3429, allocations: 356.3 kB / 407.5 MB, free: 4.082 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.3433, allocations: 120 kB / 407.6 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.3434, allocations: 36.62 kB / 407.6 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3434, allocations: 1.25 kB / 407.6 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3434, allocations: 48.23 kB / 407.7 MB, free: 3.941 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.3434, allocations: 3.984 kB / 407.7 MB, free: 3.938 MB / 318.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002112/0.3455, allocations: 0.9933 MB / 408.7 MB, free: 3.242 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.3456, allocations: 134.8 kB / 408.8 MB, free: 3.082 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3458, allocations: 176.3 kB / 409 MB, free: 2.941 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3458, allocations: 31.14 kB / 409 MB, free: 2.906 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.3459, allocations: 114.5 kB / 409.1 MB, free: 2.797 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3459, allocations: 54.14 kB / 409.2 MB, free: 2.75 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.346, allocations: 43.45 kB / 409.2 MB, free: 2.719 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 6.892e-05/0.3461, allocations: 327.3 kB / 409.5 MB, free: 2.395 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3462, allocations: 93.78 kB / 409.6 MB, free: 2.352 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3464, allocations: 129.8 kB / 409.7 MB, free: 2.27 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.3468, allocations: 216.6 kB / 410 MB, free: 2.152 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3468, allocations: 0 / 410 MB, free: 2.152 MB / 318.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006004/0.3474, allocations: 304.9 kB / 410.3 MB, free: 1.984 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3474, allocations: 5.719 kB / 410.3 MB, free: 1.984 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.3474, allocations: 6.156 kB / 410.3 MB, free: 1.98 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.3477, allocations: 41.03 kB / 410.3 MB, free: 1.957 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3478, allocations: 36.02 kB / 410.3 MB, free: 1.945 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3489, allocations: 1.411 MB / 411.8 MB, free: 0.5586 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.349, allocations: 15.61 kB / 411.8 MB, free: 0.5469 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.349, allocations: 4.219 kB / 411.8 MB, free: 0.5469 MB / 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.0001363/0.3492, allocations: 138.3 kB / 411.9 MB, free: 424 kB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3492, allocations: 14.22 kB / 411.9 MB, free: 416 kB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/0.3493, allocations: 24.08 kB / 411.9 MB, free: 392 kB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3493, allocations: 1.375 kB / 411.9 MB, free: 392 kB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3493, allocations: 5.406 kB / 412 MB, free: 388 kB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3493, allocations: 3.938 kB / 412 MB, free: 384 kB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.3495, allocations: 213.1 kB / 412.2 MB, free: 164 kB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3495, allocations: 1.312 kB / 412.2 MB, free: 164 kB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.3498, allocations: 60.02 kB / 412.2 MB, free: 144 kB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3498, allocations: 0 / 412.2 MB, free: 144 kB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3498, allocations: 1.531 kB / 412.2 MB, free: 144 kB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3498, allocations: 1.969 kB / 412.2 MB, free: 144 kB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3499, allocations: 0 / 412.2 MB, free: 144 kB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.3506, allocations: 413.5 kB / 412.6 MB, free: 15.86 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.3506, allocations: 12.14 kB / 412.6 MB, free: 15.85 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3506, allocations: 2.219 kB / 412.6 MB, free: 15.85 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3507, allocations: 15.14 kB / 412.7 MB, free: 15.84 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.3508, allocations: 11.92 kB / 412.7 MB, free: 15.83 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3508, allocations: 6.469 kB / 412.7 MB, free: 15.82 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001298/0.3509, allocations: 133.8 kB / 412.8 MB, free: 15.72 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.3509, allocations: 7.938 kB / 412.8 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.003401/0.3543, allocations: 0.5137 MB / 413.3 MB, free: 15.7 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.001888/0.3562, allocations: 0.5435 MB / 413.9 MB, free: 15.58 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001062/0.3573, allocations: 375.3 kB / 414.2 MB, free: 15.31 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.3573, allocations: 1.094 kB / 414.2 MB, free: 15.31 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3575, allocations: 81.77 kB / 414.3 MB, free: 15.27 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3579, allocations: 48.66 kB / 414.4 MB, free: 15.24 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.3589, allocations: 415.3 kB / 414.8 MB, free: 14.95 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.3595, allocations: 0.7267 MB / 415.5 MB, free: 14.23 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001248/0.3596, allocations: 36.7 kB / 415.5 MB, free: 14.21 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3597, allocations: 16.5 kB / 415.6 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.3597, allocations: 0 / 415.6 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of Templates: time 0.0222/0.3819, allocations: 7.993 MB / 423.5 MB, free: 8.129 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 5.142741102725267]