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.0009236/0.0009236, allocations: 99.03 kB / 17 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002126, allocations: 4 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09294, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001713/0.09469, allocations: 1.313 MB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.09914, allocations: 3.069 MB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.09927, allocations: 7.938 kB / 363 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.09957, allocations: 35.84 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.09965, allocations: 23.84 kB / 363.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.1023, allocations: 1.054 MB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1026, allocations: 127.6 kB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.1027, allocations: 25.38 kB / 364.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.1028, allocations: 47.78 kB / 364.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.1029, allocations: 51.77 kB / 364.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1029, allocations: 0 / 364.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.1042, allocations: 1.105 MB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.1043, allocations: 27.91 kB / 365.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1044, allocations: 45.64 kB / 365.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.1053, allocations: 1.088 MB / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1053, allocations: 0 / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1053, allocations: 0 / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1053, allocations: 0 / 366.6 MB, free: 5.422 MB / 302.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.0009693/0.1063, allocations: 0.5417 MB / 367.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1064, allocations: 8.031 kB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.1064, allocations: 15.81 kB / 367.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1066, allocations: 214.8 kB / 367.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1067, allocations: 7.984 kB / 367.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1067, allocations: 8 kB / 367.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1069, allocations: 129 kB / 367.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.107, allocations: 3.984 kB / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.107, allocations: 4 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.107, allocations: 0 / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1072, allocations: 59.95 kB / 367.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.1078, allocations: 388.4 kB / 368 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1082, allocations: 134.5 kB / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1083, allocations: 44.83 kB / 368.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1083, allocations: 0 / 368.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1083, allocations: 38.56 kB / 368.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.1083, allocations: 0 / 368.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002273/0.1106, allocations: 1.224 MB / 369.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.1107, allocations: 136.5 kB / 369.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1109, allocations: 174.2 kB / 369.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.111, allocations: 33.7 kB / 369.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.1111, allocations: 104.5 kB / 369.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.1111, allocations: 55.2 kB / 369.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.1111, allocations: 0 / 369.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1113, allocations: 330.8 kB / 370.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1115, allocations: 99.94 kB / 370.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1117, allocations: 136.4 kB / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1119, allocations: 108.8 kB / 370.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1119, allocations: 4 kB / 370.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005492/0.1125, allocations: 314.1 kB / 370.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1125, allocations: 4 kB / 370.9 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.1125, allocations: 4 kB / 370.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.1127, allocations: 45.97 kB / 370.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1129, allocations: 31.98 kB / 371 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1829/0.2958, allocations: 1.4 MB / 372.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2959, allocations: 9.453 kB / 372.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.296, allocations: 12.09 kB / 372.4 MB, free: 18.07 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.2961, allocations: 134.8 kB / 372.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.2961, allocations: 16.91 kB / 372.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.2962, allocations: 23.02 kB / 372.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.2962, allocations: 4.219 kB / 372.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2962, allocations: 1.938 kB / 372.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2963, allocations: 4.312 kB / 372.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.2965, allocations: 247 kB / 372.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2965, allocations: 1.312 kB / 372.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.2968, allocations: 61.14 kB / 372.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2968, allocations: 1.594 kB / 372.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.2968, allocations: 6.984 kB / 372.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2969, allocations: 0.5312 kB / 372.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2969, allocations: 5.141 kB / 372.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.2974, allocations: 407.5 kB / 373.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.2975, allocations: 88.8 kB / 373.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.2975, allocations: 4.547 kB / 373.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2976, allocations: 14.06 kB / 373.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2977, allocations: 15.38 kB / 373.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2977, allocations: 4.062 kB / 373.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.2978, allocations: 129.5 kB / 373.5 MB, free: 17.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2978, allocations: 0 / 373.5 MB, free: 17.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001481/0.2993, allocations: 0.5116 MB / 374.1 MB, free: 17.47 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.3004, allocations: 0.5512 MB / 374.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.3011, allocations: 390.6 kB / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3011, allocations: 0 / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3013, allocations: 93.86 kB / 375.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3016, allocations: 30.58 kB / 375.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.3022, allocations: 448.6 kB / 375.5 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.3024, allocations: 0.7295 MB / 376.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.3025, allocations: 33.19 kB / 376.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3025, allocations: 15.69 kB / 376.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3025, allocations: 1.375 kB / 376.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of Templates: time 0.01493/0.3175, allocations: 7.745 MB / 384.1 MB, free: 14.54 MB / 302.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