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.0007036/0.0007036, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003119/0.003119, allocations: 158 kB / 24.7 MB, free: 9.418 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.9014/0.9014, allocations: 177 MB / 204.9 MB, free: 5.738 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.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.115e-05, allocations: 2.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001912/0.001933, allocations: 1.601 MB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.005366, allocations: 2.996 MB / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.005465, allocations: 3.938 kB / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.005779, allocations: 55.7 kB / 330.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.005833, allocations: 19.8 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.008299, allocations: 1.498 MB / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.008503, allocations: 159.6 kB / 332.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.008604, allocations: 21.08 kB / 332.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.008679, allocations: 71.86 kB / 332.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.008747, allocations: 43.89 kB / 332.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.008765, allocations: 8 kB / 332.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.009967, allocations: 1.428 MB / 333.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.01006, allocations: 39.84 kB / 333.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.0101, allocations: 31.91 kB / 333.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.01121, allocations: 1.447 MB / 335.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01121, allocations: 0 / 335.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01121, allocations: 0 / 335.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01121, allocations: 4 kB / 335.2 MB, free: 5.957 MB / 298.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.0008181/0.01203, allocations: 0.4935 MB / 335.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.01207, allocations: 11.98 kB / 335.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.01212, allocations: 16.84 kB / 335.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.01231, allocations: 149.5 kB / 335.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.01232, allocations: 8.375 kB / 335.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.01236, allocations: 12.38 kB / 335.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.01258, allocations: 206.6 kB / 336.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01259, allocations: 4.188 kB / 336.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.01261, allocations: 11.94 kB / 336.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.01261, allocations: 0 / 336.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.01271, allocations: 59.89 kB / 336.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.01313, allocations: 296.3 kB / 336.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.0134, allocations: 130.5 kB / 336.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.01345, allocations: 36.83 kB / 336.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.01347, allocations: 8 kB / 336.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.01349, allocations: 34.56 kB / 336.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.01349, allocations: 0 / 336.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001335/0.01482, allocations: 0.9965 MB / 337.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.01489, allocations: 128.5 kB / 337.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01501, allocations: 178.2 kB / 337.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01503, allocations: 29.7 kB / 338 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.01509, allocations: 116.5 kB / 338.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01512, allocations: 51.53 kB / 338.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.01518, allocations: 45.7 kB / 338.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.01527, allocations: 326.8 kB / 338.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01538, allocations: 99.94 kB / 338.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.01555, allocations: 212.5 kB / 338.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.01576, allocations: 212.8 kB / 339 MB, free: 1.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01576, allocations: 0 / 339 MB, free: 1.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003841/0.01614, allocations: 302.2 kB / 339.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01616, allocations: 8 kB / 339.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.01618, allocations: 4 kB / 339.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.01632, allocations: 44.75 kB / 339.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.01642, allocations: 35.98 kB / 339.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/0.01733, allocations: 1.385 MB / 340.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.0174, allocations: 12.02 kB / 340.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01741, allocations: 4 kB / 340.8 MB, free: 15.91 MB / 314.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 0.0001154/0.01752, allocations: 151.1 kB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.01755, allocations: 11.91 kB / 340.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.01757, allocations: 21.47 kB / 341 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01758, allocations: 0 / 341 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01758, allocations: 0 / 341 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01758, allocations: 4 kB / 341 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01773, allocations: 169.2 kB / 341.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01773, allocations: 3.938 kB / 341.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.01787, allocations: 55.95 kB / 341.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01787, allocations: 0 / 341.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.01788, allocations: 0 / 341.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01788, allocations: 8 kB / 341.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01788, allocations: 0 / 341.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01821, allocations: 418 kB / 341.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.01823, allocations: 15.84 kB / 341.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.01824, allocations: 4 kB / 341.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.01829, allocations: 11.94 kB / 341.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.01832, allocations: 15.95 kB / 341.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01833, allocations: 4 kB / 341.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.01839, allocations: 119.2 kB / 341.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01839, allocations: 4 kB / 341.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009484/0.01934, allocations: 0.5155 MB / 342.3 MB, free: 14.35 MB / 314.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.0007379/0.02008, allocations: 0.6516 MB / 343 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000547/0.02062, allocations: 377.8 kB / 343.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02063, allocations: 0 / 343.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.02072, allocations: 83.89 kB / 343.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.02096, allocations: 39.19 kB / 343.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.02154, allocations: 415 kB / 343.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.02164, allocations: 122.7 kB / 344 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.02168, allocations: 16.5 kB / 344 MB, free: 12.58 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02168, allocations: 0 / 344 MB, free: 12.58 MB / 314.7 MB Notification: Performance of Templates: time 0.007461/0.02914, allocations: 6.247 MB / 350.2 MB, free: 6.328 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1158290933817625]