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.0009393/0.0009393, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.0009594/0.0009594, allocations: 159.1 kB / 24.99 MB, free: 8.801 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.9664/0.9664, allocations: 177 MB / 205.2 MB, free: 5.422 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 2.194e-06/2.194e-06, allocations: 4 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.38e-05, allocations: 5.406 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001919/0.001942, allocations: 1.639 MB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.005368, allocations: 3.078 MB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.005444, allocations: 3.938 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.005724, allocations: 51.75 kB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.005769, allocations: 15.88 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.007623, allocations: 1.512 MB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.007786, allocations: 155.6 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.007869, allocations: 13.31 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.00794, allocations: 71.86 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.008002, allocations: 47.88 kB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.008018, allocations: 8 kB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009335/0.008952, allocations: 1.421 MB / 281 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.009019, allocations: 43.83 kB / 281 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.009055, allocations: 35.91 kB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009373/0.009993, allocations: 1.434 MB / 282.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.009995, allocations: 0 / 282.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.009996, allocations: 0 / 282.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.01, allocations: 0 / 282.5 MB, free: 8.188 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.0005762/0.01058, allocations: 0.5973 MB / 283.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01061, allocations: 11.98 kB / 283.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.01066, allocations: 20.84 kB / 283.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01082, allocations: 156.4 kB / 283.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.01084, allocations: 8.375 kB / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.01086, allocations: 16.31 kB / 283.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.01104, allocations: 206.7 kB / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.01105, allocations: 192 / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.01106, allocations: 3.938 kB / 283.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01107, allocations: 0 / 283.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.01112, allocations: 23.98 kB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.0115, allocations: 355.4 kB / 283.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.0117, allocations: 91.11 kB / 284 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.01174, allocations: 19.67 kB / 284 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.01174, allocations: 4 kB / 284 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.01177, allocations: 45.52 kB / 284 MB, free: 6.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.01177, allocations: 0 / 284 MB, free: 6.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001006/0.01278, allocations: 0.7001 MB / 284.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.01282, allocations: 132.5 kB / 284.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.01294, allocations: 233.8 kB / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.01296, allocations: 25.7 kB / 285.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.01302, allocations: 163.2 kB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.01305, allocations: 51.59 kB / 285.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.0131, allocations: 47.36 kB / 285.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01322, allocations: 0.5001 MB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.01327, allocations: 31.97 kB / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.657e-05/0.01337, allocations: 175.7 kB / 286.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.01348, allocations: 95.48 kB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.01348, allocations: 0 / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002272/0.01371, allocations: 173.4 kB / 286.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.01372, allocations: 4 kB / 286.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.01373, allocations: 4 kB / 286.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.01385, allocations: 31.59 kB / 286.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.01394, allocations: 31.92 kB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/0.01472, allocations: 1.748 MB / 288.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.01476, allocations: 8 kB / 288.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.01477, allocations: 4 kB / 288.2 MB, free: 2.004 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.123e-05/0.01485, allocations: 172.5 kB / 288.3 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.01488, allocations: 15.91 kB / 288.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.0149, allocations: 29.59 kB / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.0149, allocations: 0 / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.0149, allocations: 4 kB / 288.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01491, allocations: 0 / 288.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.01503, allocations: 164.6 kB / 288.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01504, allocations: 3.938 kB / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01519, allocations: 55.89 kB / 288.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01519, allocations: 0 / 288.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.0152, allocations: 4 kB / 288.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0152, allocations: 0 / 288.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0152, allocations: 4 kB / 288.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.01541, allocations: 283.8 kB / 288.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01543, allocations: 27.84 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.01544, allocations: 3.938 kB / 288.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.01549, allocations: 11.98 kB / 288.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.01552, allocations: 11.92 kB / 288.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.01553, allocations: 0 / 288.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.01559, allocations: 159.2 kB / 289.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01559, allocations: 0 / 289.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007036/0.01629, allocations: 0.5155 MB / 289.6 MB, free: 500 kB / 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.0959/0.1122, allocations: 0.6519 MB / 290.3 MB, free: 27.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.1127, allocations: 337.9 kB / 290.6 MB, free: 27.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1127, allocations: 0 / 290.6 MB, free: 27.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.1128, allocations: 49.16 kB / 290.7 MB, free: 27.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1131, allocations: 31.38 kB / 290.7 MB, free: 27.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.1135, allocations: 334 kB / 291 MB, free: 27.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.1135, allocations: 83.33 kB / 291.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.1136, allocations: 26.02 kB / 291.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.1136, allocations: 18.28 kB / 291.1 MB, free: 27.24 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1136, allocations: 0 / 291.1 MB, free: 27.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01236/0.126, allocations: 8.061 MB / 299.2 MB, free: 24.88 MB / 266.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: 2.9793837829492986]