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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 56.09 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2767, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002722/0.2795, allocations: 1.616 MB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.2841, allocations: 3.202 MB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.2842, allocations: 3.938 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.2845, allocations: 59.69 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.2846, allocations: 7.875 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.2878, allocations: 1.435 MB / 415.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2881, allocations: 143.6 kB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.2882, allocations: 25.11 kB / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2883, allocations: 55.83 kB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.2884, allocations: 51.72 kB / 415.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2884, allocations: 11.94 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.2899, allocations: 1.397 MB / 417.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.29, allocations: 27.92 kB / 417.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.2901, allocations: 51.67 kB / 417.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2911, allocations: 1.205 MB / 418.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2911, allocations: 0 / 418.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2911, allocations: 0 / 418.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2911, allocations: 0 / 418.5 MB, free: 8.293 MB / 334.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.0009202/0.2921, allocations: 0.5614 MB / 419.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2921, allocations: 8.031 kB / 419.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.2922, allocations: 20.69 kB / 419.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.2924, allocations: 220.1 kB / 419.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2925, allocations: 4.375 kB / 419.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.2926, allocations: 12.28 kB / 419.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.2928, allocations: 133 kB / 419.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2928, allocations: 0 / 419.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2928, allocations: 0 / 419.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2928, allocations: 4 kB / 419.5 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.293, allocations: 55.95 kB / 419.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2935, allocations: 384.5 kB / 419.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.2939, allocations: 126.6 kB / 420 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.294, allocations: 49.02 kB / 420.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.294, allocations: 3.938 kB / 420.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.294, allocations: 30.56 kB / 420.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.294, allocations: 0 / 420.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002187/0.2962, allocations: 1.23 MB / 421.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.2963, allocations: 132.5 kB / 421.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.2965, allocations: 170.4 kB / 421.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2965, allocations: 37.64 kB / 421.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.2966, allocations: 104.5 kB / 421.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.2966, allocations: 55.2 kB / 421.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.2967, allocations: 41.7 kB / 421.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2969, allocations: 334.8 kB / 422.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.297, allocations: 95.95 kB / 422.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2972, allocations: 133.5 kB / 422.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2975, allocations: 200.7 kB / 422.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2975, allocations: 0 / 422.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005782/0.2981, allocations: 310.1 kB / 422.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2981, allocations: 4 kB / 422.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.2982, allocations: 7.984 kB / 422.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.2984, allocations: 40.83 kB / 423 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2986, allocations: 31.92 kB / 423 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2998, allocations: 1.523 MB / 424.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.2999, allocations: 15.92 kB / 424.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3, allocations: 4 kB / 424.5 MB, free: 1.727 MB / 334.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.0001167/0.3001, allocations: 138 kB / 424.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3001, allocations: 11.81 kB / 424.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.3002, allocations: 25.53 kB / 424.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3002, allocations: 0 / 424.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3002, allocations: 0 / 424.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3002, allocations: 7.938 kB / 424.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3005, allocations: 249.5 kB / 425 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3005, allocations: 0 / 425 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3008, allocations: 59.91 kB / 425 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3008, allocations: 0 / 425 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3008, allocations: 3.984 kB / 425 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3008, allocations: 4 kB / 425 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3008, allocations: 0 / 425 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.3013, allocations: 414 kB / 425.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.3014, allocations: 88.92 kB / 425.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3014, allocations: 8 kB / 425.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3015, allocations: 8 kB / 425.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3016, allocations: 12.34 kB / 425.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3016, allocations: 4 kB / 425.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3017, allocations: 132.2 kB / 425.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3017, allocations: 0 / 425.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001914/0.3037, allocations: 0.5156 MB / 426.2 MB, free: 15.98 MB / 350.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.00107/0.3047, allocations: 0.545 MB / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.3054, allocations: 389.9 kB / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3054, allocations: 0 / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3056, allocations: 91.88 kB / 427.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3059, allocations: 35.95 kB / 427.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.3066, allocations: 390 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3069, allocations: 0.7357 MB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.307, allocations: 33.06 kB / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.307, allocations: 19.44 kB / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.307, allocations: 0 / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Templates: time 0.01222/0.3193, allocations: 7.898 MB / 436.3 MB, free: 5.781 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches