Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.612/1.612, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009544/0.0009543, allocations: 92.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004796, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 47.58 MB / 374.5 MB, free: 45.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001639/0.2392, allocations: 1.627 MB / 376.2 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.2437, allocations: 3.597 MB / 379.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2438, allocations: 11.09 kB / 379.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.2443, allocations: 149.3 kB / 379.9 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.2444, allocations: 37.8 kB / 380 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.2478, allocations: 1.496 MB / 381.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2483, allocations: 433.4 kB / 381.9 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2484, allocations: 39.89 kB / 381.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2485, allocations: 157.1 kB / 382.1 MB, free: 40.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2487, allocations: 155.6 kB / 382.2 MB, free: 39.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.2487, allocations: 11.16 kB / 382.2 MB, free: 39.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2507, allocations: 1.411 MB / 383.6 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2509, allocations: 104.9 kB / 383.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.2509, allocations: 78.8 kB / 383.8 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2521, allocations: 1.506 MB / 385.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2521, allocations: 0 / 385.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2521, allocations: 0 / 385.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2521, allocations: 0 / 385.3 MB, free: 38.05 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001237/0.2533, allocations: 0.8373 MB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2534, allocations: 8.031 kB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.2535, allocations: 51.44 kB / 386.2 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.2538, allocations: 337.2 kB / 386.6 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2538, allocations: 20.23 kB / 386.6 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2539, allocations: 27.91 kB / 386.6 MB, free: 36.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2542, allocations: 307 kB / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2543, allocations: 0 / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2543, allocations: 8 kB / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2543, allocations: 4 kB / 386.9 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.2545, allocations: 147.8 kB / 387.1 MB, free: 36.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.2555, allocations: 0.6759 MB / 387.7 MB, free: 35.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.256, allocations: 319.2 kB / 388 MB, free: 35.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2562, allocations: 105.2 kB / 388.1 MB, free: 35.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2562, allocations: 4.188 kB / 388.2 MB, free: 35.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.2562, allocations: 42.73 kB / 388.2 MB, free: 34.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2562, allocations: 0 / 388.2 MB, free: 34.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005742/0.2568, allocations: 394.7 kB / 388.6 MB, free: 34.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.2569, allocations: 364 kB / 388.9 MB, free: 34.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.2572, allocations: 405.7 kB / 389.3 MB, free: 33.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2572, allocations: 37.69 kB / 389.4 MB, free: 33.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.2573, allocations: 204.7 kB / 389.6 MB, free: 33.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.2574, allocations: 78.81 kB / 389.6 MB, free: 33.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.2574, allocations: 7.938 kB / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.2575, allocations: 354.8 kB / 390 MB, free: 33.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2577, allocations: 212.2 kB / 390.2 MB, free: 32.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.2581, allocations: 322.4 kB / 390.5 MB, free: 32.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.2584, allocations: 241.5 kB / 390.8 MB, free: 32.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2584, allocations: 4 kB / 390.8 MB, free: 32.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000887/0.2593, allocations: 0.6458 MB / 391.4 MB, free: 31.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2593, allocations: 11.98 kB / 391.4 MB, free: 31.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.2593, allocations: 7.984 kB / 391.4 MB, free: 31.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.2597, allocations: 130.5 kB / 391.6 MB, free: 31.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.26, allocations: 63.91 kB / 391.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.2622, allocations: 4.231 MB / 395.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.2624, allocations: 47.42 kB / 395.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.2624, allocations: 12 kB / 395.9 MB, free: 26.69 MB / 298.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.2625, allocations: 169.8 kB / 396.1 MB, free: 26.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.2626, allocations: 35.53 kB / 396.1 MB, free: 26.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.2627, allocations: 47.75 kB / 396.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2627, allocations: 8.078 kB / 396.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2627, allocations: 3.938 kB / 396.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2627, allocations: 3.953 kB / 396.2 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.2629, allocations: 345.3 kB / 396.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.263, allocations: 0 / 396.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2632, allocations: 43.97 kB / 396.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2632, allocations: 4 kB / 396.6 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.2633, allocations: 11.98 kB / 396.6 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2633, allocations: 0 / 396.6 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2633, allocations: 0 / 396.6 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.2638, allocations: 0.5227 MB / 397.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.2639, allocations: 120.5 kB / 397.2 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.2639, allocations: 11.98 kB / 397.2 MB, free: 25.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2641, allocations: 12 kB / 397.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2641, allocations: 15.97 kB / 397.2 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2642, allocations: 12 kB / 397.3 MB, free: 25.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.2644, allocations: 271.1 kB / 397.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2644, allocations: 0 / 397.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001924/0.2663, allocations: 0.6445 MB / 398.2 MB, free: 24.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001149/0.2675, allocations: 0.664 MB / 398.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.2685, allocations: 0.9646 MB / 399.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2685, allocations: 0 / 399.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2687, allocations: 119.9 kB / 399.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.2692, allocations: 106.7 kB / 400 MB, free: 22.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2703, allocations: 1.05 MB / 401.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2706, allocations: 0.838 MB / 401.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.2706, allocations: 27.44 kB / 401.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2706, allocations: 0 / 401.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of Templates: time 0.01251/0.2832, allocations: 12 MB / 413.9 MB, free: 8.418 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches