Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.691/1.691, allocations: 226.6 MB / 244.7 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007527/0.0007532, allocations: 104.2 kB / 296.8 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 8 kB / 356.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001569/0.2444, allocations: 1.657 MB / 409.7 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.2488, allocations: 3.579 MB / 413.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.249, allocations: 11.88 kB / 413.3 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.2494, allocations: 143.3 kB / 413.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.2495, allocations: 39.64 kB / 413.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.2526, allocations: 1.515 MB / 415 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.253, allocations: 430.8 kB / 415.4 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2531, allocations: 37.09 kB / 415.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2533, allocations: 159.4 kB / 415.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2534, allocations: 151.2 kB / 415.7 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.2535, allocations: 16 kB / 415.8 MB, free: 20 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.2549, allocations: 1.436 MB / 417.2 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.255, allocations: 99.7 kB / 417.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.2552, allocations: 164.8 kB / 417.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.2561, allocations: 1.498 MB / 418.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2561, allocations: 0 / 418.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2561, allocations: 0 / 418.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2561, allocations: 0 / 418.9 MB, free: 16.8 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.001086/0.2572, allocations: 0.8375 MB / 419.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2573, allocations: 8.875 kB / 419.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.2573, allocations: 48.38 kB / 419.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.2577, allocations: 350.3 kB / 420.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2577, allocations: 20.66 kB / 420.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.2577, allocations: 28.28 kB / 420.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.2581, allocations: 307.5 kB / 420.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2581, allocations: 4 kB / 420.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.2582, allocations: 8 kB / 420.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2582, allocations: 7.984 kB / 420.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.2584, allocations: 144.7 kB / 420.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.2593, allocations: 0.6834 MB / 421.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.2599, allocations: 330.3 kB / 421.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.26, allocations: 104.8 kB / 421.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.26, allocations: 4 kB / 421.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2601, allocations: 42.56 kB / 421.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.2601, allocations: 0 / 421.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005724/0.2606, allocations: 388.2 kB / 422.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.2607, allocations: 367.8 kB / 422.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.261, allocations: 405.8 kB / 423 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2611, allocations: 33.7 kB / 423 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.2612, allocations: 200.8 kB / 423.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2612, allocations: 82.8 kB / 423.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.2612, allocations: 4.109 kB / 423.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.2613, allocations: 370.7 kB / 423.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.2616, allocations: 204.4 kB / 423.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2619, allocations: 314.4 kB / 424.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.2624, allocations: 397.3 kB / 424.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2624, allocations: 0 / 424.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008926/0.2633, allocations: 0.6498 MB / 425.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2633, allocations: 6.812 kB / 425.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.2633, allocations: 11.98 kB / 425.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.2637, allocations: 126.5 kB / 425.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.264, allocations: 63.91 kB / 425.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.2662, allocations: 4.223 MB / 429.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.2665, allocations: 43.56 kB / 429.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2665, allocations: 20.14 kB / 429.7 MB, free: 5.262 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.0001661/0.2667, allocations: 169.8 kB / 429.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.2667, allocations: 47.38 kB / 429.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.837e-05/0.2668, allocations: 43.75 kB / 429.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2668, allocations: 4 kB / 429.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2668, allocations: 0 / 429.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2668, allocations: 3.984 kB / 429.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.2671, allocations: 349.4 kB / 430.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2671, allocations: 0 / 430.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.2674, allocations: 51.84 kB / 430.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2674, allocations: 0 / 430.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2675, allocations: 8 kB / 430.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2675, allocations: 0 / 430.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2675, allocations: 7.984 kB / 430.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.268, allocations: 0.5064 MB / 430.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.2681, allocations: 124.5 kB / 431 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2681, allocations: 12 kB / 431 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2683, allocations: 15.98 kB / 431 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.2684, allocations: 7.984 kB / 431 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2684, allocations: 11.98 kB / 431 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.2686, allocations: 267.1 kB / 431.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2686, allocations: 4 kB / 431.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001712/0.2703, allocations: 0.6445 MB / 431.9 MB, free: 2.914 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.00121/0.2715, allocations: 0.6733 MB / 432.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.2726, allocations: 0.9524 MB / 433.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2726, allocations: 4 kB / 433.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.2728, allocations: 115.9 kB / 433.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.2734, allocations: 100.9 kB / 433.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2748, allocations: 1.074 MB / 434.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2753, allocations: 0.8302 MB / 435.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.2754, allocations: 35.38 kB / 435.7 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2754, allocations: 4 kB / 435.7 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.01941/0.2948, allocations: 12.07 MB / 447.8 MB, free: 2.93 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches