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.001778/0.001778, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.457/1.457, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007918/0.0007918, allocations: 90.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003958, allocations: 12 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2482, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001857/0.2501, allocations: 1.631 MB / 376.7 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.2553, allocations: 3.585 MB / 380.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2555, allocations: 11.16 kB / 380.3 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.256, allocations: 149.5 kB / 380.5 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2561, allocations: 42.14 kB / 380.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.26, allocations: 1.506 MB / 382 MB, free: 40.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.2605, allocations: 433.4 kB / 382.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2606, allocations: 52.17 kB / 382.5 MB, free: 40.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2608, allocations: 149.5 kB / 382.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.261, allocations: 155 kB / 382.8 MB, free: 40 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.261, allocations: 11.59 kB / 382.8 MB, free: 40 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.2634, allocations: 1.416 MB / 384.2 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2635, allocations: 113.5 kB / 384.3 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2637, allocations: 166.8 kB / 384.5 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2648, allocations: 1.488 MB / 386 MB, free: 37.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2648, allocations: 4 kB / 386 MB, free: 37.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2648, allocations: 0 / 386 MB, free: 37.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2648, allocations: 0 / 386 MB, free: 37.82 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.001076/0.2659, allocations: 0.8336 MB / 386.8 MB, free: 36.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2659, allocations: 12.02 kB / 386.8 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.266, allocations: 48.38 kB / 386.9 MB, free: 36.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2664, allocations: 342.3 kB / 387.2 MB, free: 36.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2664, allocations: 16.66 kB / 387.2 MB, free: 36.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.2664, allocations: 32.27 kB / 387.2 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.2668, allocations: 311 kB / 387.5 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2668, allocations: 0 / 387.5 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2669, allocations: 8 kB / 387.6 MB, free: 36.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2669, allocations: 11.94 kB / 387.6 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.2671, allocations: 155.8 kB / 387.7 MB, free: 35.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.2681, allocations: 0.6679 MB / 388.4 MB, free: 35.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.2686, allocations: 318.8 kB / 388.7 MB, free: 34.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2688, allocations: 112.7 kB / 388.8 MB, free: 34.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2688, allocations: 0 / 388.8 MB, free: 34.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2688, allocations: 38.56 kB / 388.8 MB, free: 34.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.2688, allocations: 0 / 388.8 MB, free: 34.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005742/0.2694, allocations: 388.9 kB / 389.2 MB, free: 34.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.2695, allocations: 367.8 kB / 389.6 MB, free: 33.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2698, allocations: 405.9 kB / 390 MB, free: 33.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2698, allocations: 37.64 kB / 390 MB, free: 33.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2699, allocations: 188.8 kB / 390.2 MB, free: 33.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.27, allocations: 90.7 kB / 390.3 MB, free: 33.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.27, allocations: 4 kB / 390.3 MB, free: 33.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.2701, allocations: 362.7 kB / 390.6 MB, free: 32.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.2704, allocations: 212.2 kB / 390.9 MB, free: 32.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2707, allocations: 314.4 kB / 391.2 MB, free: 32.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.2711, allocations: 393.6 kB / 391.5 MB, free: 31.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2711, allocations: 0 / 391.5 MB, free: 31.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000891/0.272, allocations: 0.6459 MB / 392.2 MB, free: 31.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2721, allocations: 4 kB / 392.2 MB, free: 31.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.2721, allocations: 11.98 kB / 392.2 MB, free: 31.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.2725, allocations: 134.4 kB / 392.3 MB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2727, allocations: 63.97 kB / 392.4 MB, free: 30.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.275, allocations: 4.231 MB / 396.6 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2752, allocations: 43.56 kB / 396.7 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.2753, allocations: 15.98 kB / 396.7 MB, free: 26.3 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.0001511/0.2754, allocations: 169.8 kB / 396.9 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.2755, allocations: 51.45 kB / 396.9 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.2756, allocations: 47.75 kB / 397 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2756, allocations: 0 / 397 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2756, allocations: 0 / 397 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2756, allocations: 3.984 kB / 397 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.2759, allocations: 345.4 kB / 397.3 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2759, allocations: 0 / 397.3 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.2761, allocations: 47.91 kB / 397.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2761, allocations: 4 kB / 397.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.2762, allocations: 11.94 kB / 397.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2762, allocations: 4 kB / 397.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2762, allocations: 7.938 kB / 397.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2767, allocations: 0.5187 MB / 397.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.2768, allocations: 116.6 kB / 398 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.2768, allocations: 8 kB / 398 MB, free: 24.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.277, allocations: 19.98 kB / 398 MB, free: 24.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.277, allocations: 11.98 kB / 398 MB, free: 24.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2771, allocations: 11.98 kB / 398.1 MB, free: 24.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.2773, allocations: 267.1 kB / 398.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2773, allocations: 0 / 398.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001838/0.2791, allocations: 0.6445 MB / 399 MB, free: 23.95 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.001147/0.2803, allocations: 0.6654 MB / 399.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009925/0.2813, allocations: 0.9528 MB / 400.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2813, allocations: 4 kB / 400.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2815, allocations: 119.9 kB / 400.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.282, allocations: 93.64 kB / 400.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2832, allocations: 1.076 MB / 401.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2834, allocations: 0.838 MB / 402.7 MB, free: 20.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.2835, allocations: 27.44 kB / 402.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2835, allocations: 3.938 kB / 402.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of Templates: time 0.0141/0.2976, allocations: 12 MB / 414.7 MB, free: 8.02 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