Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.448e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5201, allocations: 89.34 MB / 458.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5204, allocations: 66.28 kB / 458.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08099/0.6014, allocations: 16.86 MB / 475.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6014, allocations: 0 / 475.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.6015, allocations: 4 kB / 475.3 MB, free: 4.414 MB / 346.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.001551/0.603, allocations: 0.5467 MB / 475.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6031, allocations: 8.031 kB / 475.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/0.6032, allocations: 15.81 kB / 475.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.6037, allocations: 227.5 kB / 476.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6037, allocations: 10.95 kB / 476.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.6038, allocations: 14.55 kB / 476.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.6041, allocations: 124.5 kB / 476.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6041, allocations: 4 kB / 476.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.6041, allocations: 2.562 kB / 476.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6042, allocations: 0 / 476.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.6043, allocations: 45.59 kB / 476.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.6052, allocations: 401.3 kB / 476.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.6057, allocations: 117.8 kB / 476.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.6058, allocations: 38.91 kB / 476.9 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.6059, allocations: 4.188 kB / 476.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.6059, allocations: 41.75 kB / 476.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.6059, allocations: 0 / 476.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003046/0.609, allocations: 1.138 MB / 478.1 MB, free: 1.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.6091, allocations: 139.6 kB / 478.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6094, allocations: 158.4 kB / 478.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.6094, allocations: 28.83 kB / 478.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.6095, allocations: 172.3 kB / 478.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.6096, allocations: 60.06 kB / 478.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.6096, allocations: 0 / 478.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6097, allocations: 329.5 kB / 478.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.61, allocations: 83.66 kB / 479 MB, free: 0.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.6103, allocations: 123.5 kB / 479.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.6105, allocations: 101.9 kB / 479.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6106, allocations: 0.9375 kB / 479.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007969/0.6114, allocations: 293.7 kB / 479.5 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6114, allocations: 8 kB / 479.5 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.6114, allocations: 4 kB / 479.5 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.6117, allocations: 44.81 kB / 479.6 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.6121, allocations: 31.98 kB / 479.6 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.6137, allocations: 1.401 MB / 481 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.614, allocations: 12.02 kB / 481 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.614, allocations: 8 kB / 481 MB, free: 14.71 MB / 362.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 () * 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.000132/0.6141, allocations: 121.9 kB / 481.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.6142, allocations: 15.75 kB / 481.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.6143, allocations: 25.66 kB / 481.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6143, allocations: 0 / 481.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6143, allocations: 7.984 kB / 481.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6143, allocations: 0 / 481.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.6147, allocations: 245.5 kB / 481.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6147, allocations: 0 / 481.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.6153, allocations: 51.95 kB / 481.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6153, allocations: 0 / 481.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6154, allocations: 12 kB / 481.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6154, allocations: 0 / 481.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6154, allocations: 0 / 481.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.6162, allocations: 399.1 kB / 481.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.6163, allocations: 88.92 kB / 482 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.6163, allocations: 8 kB / 482 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.6165, allocations: 8.031 kB / 482 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.6166, allocations: 15.98 kB / 482 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.6166, allocations: 4 kB / 482 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.6168, allocations: 120.3 kB / 482.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6168, allocations: 0 / 482.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00218/0.619, allocations: 0.5273 MB / 482.7 MB, free: 12.99 MB / 362.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 () * 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.002223/0.6212, allocations: 0.5704 MB / 483.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009802/0.6222, allocations: 373.9 kB / 483.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6223, allocations: 0 / 483.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.6225, allocations: 84.05 kB / 483.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6229, allocations: 34.47 kB / 483.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.6237, allocations: 350 kB / 484 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.624, allocations: 0.744 MB / 484.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/0.6241, allocations: 15.44 kB / 484.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6242, allocations: 0 / 484.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.01906/0.6432, allocations: 7.007 MB / 491.8 MB, free: 3.734 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches