Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009893/0.000989, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.86 kB / 306.9 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00375/0.113, allocations: 2.017 MB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006657/0.1196, allocations: 3.707 MB / 363.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.12, allocations: 11.88 kB / 363.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.1206, allocations: 187.1 kB / 363.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1208, allocations: 47.58 kB / 363.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.1255, allocations: 1.945 MB / 365.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.1263, allocations: 0.491 MB / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1264, allocations: 49.06 kB / 365.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1268, allocations: 179.4 kB / 366.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.1271, allocations: 171.1 kB / 366.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-05/0.1272, allocations: 24 kB / 366.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.1302, allocations: 1.745 MB / 368 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.1305, allocations: 119.6 kB / 368.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.1307, allocations: 170.9 kB / 368.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.1332, allocations: 1.77 MB / 370.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1333, allocations: 4 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1333, allocations: 0 / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.1333, allocations: 3.938 kB / 370.1 MB, free: 1.438 MB / 302.1 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.002264/0.1356, allocations: 0.8959 MB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1356, allocations: 12.03 kB / 371 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1358, allocations: 44.38 kB / 371 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.1363, allocations: 354.2 kB / 371.4 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1364, allocations: 16.66 kB / 371.4 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.1365, allocations: 28.28 kB / 371.4 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2027/0.3392, allocations: 305.3 kB / 371.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3392, allocations: 3.656 kB / 371.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.3393, allocations: 10.36 kB / 371.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3393, allocations: 3.031 kB / 371.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.3396, allocations: 142.4 kB / 371.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.3414, allocations: 0.6704 MB / 372.5 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.3421, allocations: 324.9 kB / 372.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3423, allocations: 106.6 kB / 373 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3423, allocations: 2.594 kB / 373 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3423, allocations: 40.39 kB / 373 MB, free: 19.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.3423, allocations: 0 / 373 MB, free: 19.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007572/0.3431, allocations: 383.7 kB / 373.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.3432, allocations: 368.8 kB / 373.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.3437, allocations: 406.3 kB / 374.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3437, allocations: 36.64 kB / 374.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3439, allocations: 197.6 kB / 374.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.3439, allocations: 80.3 kB / 374.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3441, allocations: 104.9 kB / 374.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.3442, allocations: 355.4 kB / 374.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.3446, allocations: 211.1 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.3451, allocations: 321 kB / 375.4 MB, free: 17.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.3457, allocations: 394.8 kB / 375.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3457, allocations: 0 / 375.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001083/0.3468, allocations: 0.6489 MB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3468, allocations: 4.125 kB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.3469, allocations: 8.656 kB / 376.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.3473, allocations: 127.5 kB / 376.6 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.3476, allocations: 70.19 kB / 376.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.3509, allocations: 4.556 MB / 381.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3511, allocations: 46.16 kB / 381.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.3512, allocations: 13.83 kB / 381.3 MB, free: 12.81 MB / 302.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.3514, allocations: 178 kB / 381.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.3515, allocations: 42.28 kB / 381.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.3516, allocations: 48.83 kB / 381.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3516, allocations: 6.406 kB / 381.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3516, allocations: 2.25 kB / 381.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3516, allocations: 1.734 kB / 381.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.352, allocations: 346 kB / 381.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.352, allocations: 1.438 kB / 381.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.3523, allocations: 45.17 kB / 381.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3523, allocations: 0.7031 kB / 381.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.3523, allocations: 17.86 kB / 381.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.3523, allocations: 1.188 kB / 381.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3523, allocations: 1.75 kB / 381.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.353, allocations: 0.5096 MB / 382.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.3531, allocations: 116.5 kB / 382.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.3532, allocations: 15.64 kB / 382.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3534, allocations: 14.59 kB / 382.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3534, allocations: 12.03 kB / 382.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3534, allocations: 4.25 kB / 382.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.3538, allocations: 272 kB / 382.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3538, allocations: 0 / 382.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002276/0.3561, allocations: 0.6499 MB / 383.5 MB, free: 11.8 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/0.3582, allocations: 0.6742 MB / 384.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3596, allocations: 0.985 MB / 385.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3596, allocations: 1.469 kB / 385.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3598, allocations: 118.8 kB / 385.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.3604, allocations: 121.6 kB / 385.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3621, allocations: 0.9111 MB / 386.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3624, allocations: 0.8413 MB / 387.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.3627, allocations: 70.83 kB / 387.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.3628, allocations: 28.12 kB / 387.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3628, allocations: 0 / 387.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of Templates: time 0.02482/0.3876, allocations: 12.93 MB / 400.2 MB, free: 3.082 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches