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.0009874/0.0009874, allocations: 84.98 kB / 23 MB, free: 1.504 MB / 18.57 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.0009864/0.0009864, allocations: 171.5 kB / 26.39 MB, free: 7.992 MB / 18.57 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 0.9926/0.9926, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.092e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002782/0.002813, allocations: 1.606 MB / 253.8 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.0072, allocations: 3.028 MB / 256.9 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.007334, allocations: 11.94 kB / 256.9 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.007652, allocations: 47.72 kB / 256.9 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.007716, allocations: 15.84 kB / 256.9 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.01087, allocations: 1.516 MB / 258.5 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.01109, allocations: 151.6 kB / 258.6 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.01116, allocations: 17.23 kB / 258.6 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.01123, allocations: 79.86 kB / 258.7 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.0113, allocations: 39.84 kB / 258.7 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.01131, allocations: 8 kB / 258.8 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.0127, allocations: 1.428 MB / 260.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.01279, allocations: 35.84 kB / 260.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.01283, allocations: 31.91 kB / 260.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.01439, allocations: 1.434 MB / 261.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0144, allocations: 0 / 261.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0144, allocations: 0 / 261.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.0144, allocations: 0 / 261.7 MB, free: 13.79 MB / 250.7 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.0007689/0.01517, allocations: 0.5934 MB / 262.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.01521, allocations: 11.98 kB / 262.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.01524, allocations: 16.84 kB / 262.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.01539, allocations: 164.3 kB / 262.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.0154, allocations: 4.375 kB / 262.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.01542, allocations: 12.38 kB / 262.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.01557, allocations: 198.8 kB / 262.7 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01558, allocations: 8.078 kB / 262.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.01559, allocations: 7.938 kB / 262.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.0156, allocations: 8 kB / 262.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.01563, allocations: 23.72 kB / 262.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.01597, allocations: 316.2 kB / 263 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.01615, allocations: 78.94 kB / 263.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.01618, allocations: 31.72 kB / 263.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.01619, allocations: 0 / 263.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.01621, allocations: 37.39 kB / 263.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 7.92e-07/0.01621, allocations: 0 / 263.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009528/0.01716, allocations: 0.6506 MB / 263.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.01722, allocations: 132.5 kB / 264 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.01734, allocations: 217.8 kB / 264.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.01736, allocations: 33.64 kB / 264.2 MB, free: 10.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.01743, allocations: 159.3 kB / 264.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.01748, allocations: 63.47 kB / 264.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.01754, allocations: 55.33 kB / 264.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.01768, allocations: 0.5078 MB / 265 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.01772, allocations: 23.98 kB / 265 MB, free: 10.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.01782, allocations: 151.8 kB / 265.2 MB, free: 9.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.01791, allocations: 83.59 kB / 265.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01791, allocations: 0 / 265.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002042/0.01812, allocations: 157.1 kB / 265.4 MB, free: 9.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01813, allocations: 8 kB / 265.4 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.01815, allocations: 7.984 kB / 265.4 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.01825, allocations: 23.67 kB / 265.4 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.01834, allocations: 27.98 kB / 265.5 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/0.01917, allocations: 1.717 MB / 267.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.01922, allocations: 16.11 kB / 267.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.01923, allocations: 0 / 267.2 MB, free: 7.789 MB / 250.7 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 9.5e-05/0.01933, allocations: 176.5 kB / 267.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.01936, allocations: 19.84 kB / 267.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.01939, allocations: 25.47 kB / 267.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01939, allocations: 0 / 267.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01939, allocations: 0 / 267.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0194, allocations: 3.984 kB / 267.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01954, allocations: 137.2 kB / 267.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01954, allocations: 4 kB / 267.5 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.01969, allocations: 43.97 kB / 267.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01969, allocations: 4 kB / 267.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.0197, allocations: 4 kB / 267.6 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.0197, allocations: 3.938 kB / 267.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.0197, allocations: 7.938 kB / 267.6 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01993, allocations: 279.7 kB / 267.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.01995, allocations: 15.91 kB / 267.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01996, allocations: 4 kB / 267.9 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.02001, allocations: 11.92 kB / 267.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.02004, allocations: 15.92 kB / 267.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.02005, allocations: 4 kB / 267.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.089e-05/0.02011, allocations: 156.1 kB / 268.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02011, allocations: 0 / 268.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001771/0.02188, allocations: 0.5194 MB / 268.6 MB, free: 6.312 MB / 250.7 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.0009856/0.02287, allocations: 0.6645 MB / 269.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.02323, allocations: 335 kB / 269.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02323, allocations: 0 / 269.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.02328, allocations: 43.61 kB / 269.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.02352, allocations: 33.19 kB / 269.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.024, allocations: 334.5 kB / 270 MB, free: 4.855 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.02406, allocations: 75.83 kB / 270.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.02411, allocations: 21.17 kB / 270.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.02423, allocations: 106.2 kB / 270.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02423, allocations: 0 / 270.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of Templates: time 0.01371/0.03794, allocations: 8.772 MB / 279 MB, free: 11.86 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.927764874882996]