Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001119, allocations: 103.2 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 52.39 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07616/0.07727, allocations: 46.62 MB / 375.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002777/0.08008, allocations: 1.601 MB / 377.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1955/0.2756, allocations: 3.203 MB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2758, allocations: 4.5 kB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.2761, allocations: 55 kB / 380.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.2762, allocations: 13.45 kB / 380.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2799, allocations: 1.413 MB / 382.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.2802, allocations: 146.6 kB / 382.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2803, allocations: 27.17 kB / 382.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2804, allocations: 55.2 kB / 382.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2805, allocations: 53.7 kB / 382.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2806, allocations: 7.969 kB / 382.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.2834, allocations: 1.381 MB / 383.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.2834, allocations: 41.69 kB / 383.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.2835, allocations: 52.67 kB / 383.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.2854, allocations: 1.203 MB / 385.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2854, allocations: 0 / 385.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2854, allocations: 0 / 385.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2854, allocations: 1.094 kB / 385.1 MB, free: 9.605 MB / 318.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.001504/0.287, allocations: 0.5586 MB / 385.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.287, allocations: 11.7 kB / 385.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.2871, allocations: 14.03 kB / 385.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.2873, allocations: 217 kB / 385.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2873, allocations: 6.5 kB / 385.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.2874, allocations: 15.86 kB / 385.9 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.2876, allocations: 129 kB / 386 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2876, allocations: 1.312 kB / 386 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2877, allocations: 3.938 kB / 386 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2877, allocations: 5.156 kB / 386 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2878, allocations: 58.98 kB / 386.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.2884, allocations: 376.1 kB / 386.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.2888, allocations: 132.5 kB / 386.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.2889, allocations: 47.06 kB / 386.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2889, allocations: 2.047 kB / 386.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.289, allocations: 36.23 kB / 386.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.289, allocations: 0 / 386.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001959/0.2909, allocations: 1.224 MB / 387.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.291, allocations: 130.3 kB / 388 MB, free: 7.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2911, allocations: 172.8 kB / 388.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2911, allocations: 30.77 kB / 388.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2912, allocations: 108.3 kB / 388.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.2912, allocations: 55.91 kB / 388.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.2913, allocations: 43.12 kB / 388.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.2913, allocations: 328.4 kB / 388.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2915, allocations: 92.41 kB / 388.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2917, allocations: 141.2 kB / 388.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.292, allocations: 199.9 kB / 389.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.292, allocations: 0 / 389.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004718/0.2925, allocations: 310.1 kB / 389.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2925, allocations: 10.41 kB / 389.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2925, allocations: 4.594 kB / 389.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.2927, allocations: 44.62 kB / 389.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2928, allocations: 33.64 kB / 389.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008994/0.2937, allocations: 1.517 MB / 391.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.2938, allocations: 8.5 kB / 391.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2939, allocations: 8.406 kB / 391.1 MB, free: 5.074 MB / 318.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.000107/0.294, allocations: 137.8 kB / 391.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.294, allocations: 19.89 kB / 391.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.2941, allocations: 20.97 kB / 391.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2941, allocations: 1.078 kB / 391.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2941, allocations: 1.5 kB / 391.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2941, allocations: 90.77 kB / 391.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2942, allocations: 9.406 kB / 391.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.2944, allocations: 5.812 kB / 391.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2944, allocations: 11.34 kB / 391.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005252/0.2949, allocations: 327.3 kB / 391.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004401/0.2954, allocations: 497.4 kB / 392.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001261/0.2955, allocations: 89.19 kB / 392.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.2956, allocations: 131.4 kB / 392.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of Backend: time 5.51e-07/0.2956, allocations: 1.469 kB / 392.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.2978, allocations: 0.8422 MB / 393.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005713/0.2983, allocations: 0.7851 MB / 394 MB, free: 3.195 MB / 318.1 MB Notification: Performance of Templates: time 0.01458/0.3129, allocations: 8.224 MB / 402.2 MB, free: 304 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches