Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001111/0.001111, allocations: 76.27 kB / 22.21 MB, free: 2.297 MB / 18.57 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.001309/0.001309, allocations: 167.6 kB / 25.61 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.923/0.923, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.656e-05, allocations: 2.312 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002241/0.002258, allocations: 1.629 MB / 275.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.006264, allocations: 3.027 MB / 278.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.006361, allocations: 3.938 kB / 278.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.006634, allocations: 59.75 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.006688, allocations: 19.8 kB / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.009465, allocations: 1.514 MB / 280.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.009661, allocations: 155.6 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.009727, allocations: 17.3 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.009806, allocations: 71.86 kB / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.00987, allocations: 47.88 kB / 280.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.009886, allocations: 8 kB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.01126, allocations: 1.425 MB / 282.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.01133, allocations: 39.89 kB / 282.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.01137, allocations: 31.92 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.01268, allocations: 1.434 MB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01268, allocations: 7.938 kB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01268, allocations: 0 / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.01268, allocations: 0 / 283.6 MB, free: 10.8 MB / 266.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.0007043/0.01339, allocations: 0.5934 MB / 284.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.01342, allocations: 8.031 kB / 284.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.01346, allocations: 16.84 kB / 284.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.01364, allocations: 168.3 kB / 284.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.01365, allocations: 4.375 kB / 284.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.01368, allocations: 16.36 kB / 284.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.01385, allocations: 194.7 kB / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.01386, allocations: 192 / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.01387, allocations: 3.938 kB / 284.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.01387, allocations: 4 kB / 284.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.01391, allocations: 23.97 kB / 284.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.01427, allocations: 324.1 kB / 284.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.01446, allocations: 82.97 kB / 285 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.0145, allocations: 19.75 kB / 285 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.0145, allocations: 4 kB / 285 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01452, allocations: 33.58 kB / 285.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.01453, allocations: 0 / 285.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001031/0.01556, allocations: 0.6597 MB / 285.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.01561, allocations: 136.5 kB / 285.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.01574, allocations: 226.5 kB / 286.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.01575, allocations: 29.7 kB / 286.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.01582, allocations: 159.2 kB / 286.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.01586, allocations: 63.53 kB / 286.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.01593, allocations: 55.33 kB / 286.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01607, allocations: 0.5 MB / 286.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.01612, allocations: 23.98 kB / 286.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01622, allocations: 155.8 kB / 287.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.01634, allocations: 82.22 kB / 287.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01634, allocations: 0 / 287.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002496/0.01659, allocations: 161.8 kB / 287.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.0166, allocations: 8 kB / 287.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.01661, allocations: 0 / 287.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.01672, allocations: 27.67 kB / 287.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01683, allocations: 31.92 kB / 287.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.01767, allocations: 1.721 MB / 289.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.01772, allocations: 8 kB / 289.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.01773, allocations: 8.125 kB / 289.1 MB, free: 4.805 MB / 266.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 8.731e-05/0.01782, allocations: 164.6 kB / 289.3 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.01786, allocations: 19.84 kB / 289.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.01789, allocations: 25.45 kB / 289.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01789, allocations: 0 / 289.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01789, allocations: 4 kB / 289.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0179, allocations: 0 / 289.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.01806, allocations: 141.2 kB / 289.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01806, allocations: 0 / 289.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.01823, allocations: 51.91 kB / 289.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01824, allocations: 4 kB / 289.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01825, allocations: 4 kB / 289.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01825, allocations: 3.938 kB / 289.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01825, allocations: 3.938 kB / 289.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.01849, allocations: 282.5 kB / 289.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.01851, allocations: 15.89 kB / 289.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01853, allocations: 4 kB / 289.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.0186, allocations: 7.938 kB / 289.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.01863, allocations: 7.984 kB / 289.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.01864, allocations: 8.094 kB / 289.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.0187, allocations: 155.1 kB / 290 MB, free: 3.863 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0187, allocations: 0 / 290 MB, free: 3.863 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001092/0.01979, allocations: 0.5155 MB / 290.5 MB, free: 3.348 MB / 266.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.0008589/0.02065, allocations: 0.6592 MB / 291.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.02098, allocations: 326.9 kB / 291.5 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02098, allocations: 0 / 291.5 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.02105, allocations: 51.59 kB / 291.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.02132, allocations: 31.36 kB / 291.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.02174, allocations: 327.8 kB / 291.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.0218, allocations: 87.81 kB / 292 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.02185, allocations: 13.14 kB / 292 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.02197, allocations: 98.19 kB / 292.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02197, allocations: 4 kB / 292.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of Templates: time 0.01289/0.03486, allocations: 8.768 MB / 300.8 MB, free: 8.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.961163721047342]