Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001938, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 71.83 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3964, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003351/0.3998, allocations: 1.752 MB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4011, allocations: 0.6778 MB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.4012, allocations: 11.88 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.4014, allocations: 19.8 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.4017, allocations: 39.72 kB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.4022, allocations: 139.6 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.4024, allocations: 163.6 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.4026, allocations: 29.55 kB / 412.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.4028, allocations: 71.75 kB / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.403, allocations: 111.6 kB / 412.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.4031, allocations: 16 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.4031, allocations: 20 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.4032, allocations: 63.81 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.4033, allocations: 83.47 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.4036, allocations: 223 kB / 412.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4036, allocations: 0 / 412.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4036, allocations: 0 / 412.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.4036, allocations: 0 / 412.7 MB, free: 14.17 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008467/0.4045, allocations: 0.5154 MB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4045, allocations: 8.031 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.4047, allocations: 36.64 kB / 413.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.4051, allocations: 263.7 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.4052, allocations: 16.38 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.4052, allocations: 20.38 kB / 413.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.4063, allocations: 0.6225 MB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4063, allocations: 4 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4064, allocations: 8 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4064, allocations: 8 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.4068, allocations: 195.8 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.4073, allocations: 366.2 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.4077, allocations: 243.7 kB / 414.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.408, allocations: 158.5 kB / 415.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.408, allocations: 8 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.408, allocations: 42.55 kB / 415.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.408, allocations: 0 / 415.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008111/0.4089, allocations: 425.8 kB / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.409, allocations: 138.6 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4091, allocations: 170.4 kB / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.4092, allocations: 29.7 kB / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.4092, allocations: 105.2 kB / 416 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.4093, allocations: 47.53 kB / 416 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.4094, allocations: 70.14 kB / 416.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4095, allocations: 330.8 kB / 416.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.4097, allocations: 80.81 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4099, allocations: 338.5 kB / 416.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.4104, allocations: 412.9 kB / 417.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4104, allocations: 4 kB / 417.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005344/0.4109, allocations: 405.2 kB / 417.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.411, allocations: 10.81 kB / 417.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.411, allocations: 8 kB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.411, allocations: 12 kB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.4112, allocations: 87.78 kB / 417.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.4113, allocations: 19.92 kB / 417.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4114, allocations: 28.22 kB / 417.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.4114, allocations: 28 kB / 417.8 MB, free: 8.469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 prepare postOptimizeDAE: time 0.0001763/0.4116, allocations: 190.3 kB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.4121, allocations: 294.6 kB / 418.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.4122, allocations: 30.66 kB / 418.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4122, allocations: 4 kB / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4122, allocations: 7.938 kB / 418.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4122, allocations: 7.984 kB / 418.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.4125, allocations: 249.3 kB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4125, allocations: 0 / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4127, allocations: 63.89 kB / 418.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4128, allocations: 3.984 kB / 418.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.4128, allocations: 12 kB / 418.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4128, allocations: 4 kB / 418.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4128, allocations: 0 / 418.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.4134, allocations: 439.7 kB / 419.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4135, allocations: 128.7 kB / 419.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4136, allocations: 19.98 kB / 419.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4137, allocations: 8 kB / 419.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4138, allocations: 11.92 kB / 419.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4138, allocations: 12 kB / 419.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.294e-05/0.4139, allocations: 132.3 kB / 419.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.4139, allocations: 0 / 419.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.4143, allocations: 55.94 kB / 419.5 MB, free: 6.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.000146/0.4144, allocations: 111.2 kB / 419.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.4149, allocations: 289.2 kB / 419.9 MB, free: 6.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4149, allocations: 4 kB / 419.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.415, allocations: 11.98 kB / 419.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.4157, allocations: 222.2 kB / 420.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4169, allocations: 0.5428 MB / 420.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4173, allocations: 0.7761 MB / 421.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.4174, allocations: 22.3 kB / 421.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.4175, allocations: 31.42 kB / 421.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4175, allocations: 0 / 421.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Templates: time 0.006263/0.4237, allocations: 2.748 MB / 424.2 MB, free: 1.922 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches