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.001811/0.001811, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00227/0.002271, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.64/2.64, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3771, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004646/0.3818, allocations: 1.756 MB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3837, allocations: 0.6778 MB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.384, allocations: 11.88 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3843, allocations: 15.8 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3846, allocations: 35.78 kB / 412.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.3854, allocations: 143.1 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.3857, allocations: 163.6 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.3859, allocations: 33.53 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.3862, allocations: 79.69 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.3866, allocations: 99.64 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.3866, allocations: 12 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.3867, allocations: 20 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3869, allocations: 75.8 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.387, allocations: 83.47 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.3874, allocations: 216.5 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.732e-05/0.3874, allocations: 0 / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.3875, allocations: 0 / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3875, allocations: 7.938 kB / 413.4 MB, free: 14.12 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.001246/0.3887, allocations: 0.5101 MB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3888, allocations: 12.03 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.3891, allocations: 28.66 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.3895, allocations: 267.7 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.3896, allocations: 16.38 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.3896, allocations: 16.38 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.3912, allocations: 0.6225 MB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3913, allocations: 0 / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3913, allocations: 11.92 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.3913, allocations: 16 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.392, allocations: 187.8 kB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3928, allocations: 370.2 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3934, allocations: 247.6 kB / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.3938, allocations: 162.6 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.3939, allocations: 4 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3939, allocations: 38.56 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.3939, allocations: 4 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.001325/0.3953, allocations: 417.7 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.3955, allocations: 146.8 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3957, allocations: 166.4 kB / 416.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.3958, allocations: 37.7 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.3959, allocations: 93.14 kB / 416.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.396, allocations: 51.66 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3961, allocations: 74.12 kB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3963, allocations: 334.8 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3965, allocations: 76.77 kB / 417.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3968, allocations: 330.7 kB / 417.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.3973, allocations: 408.9 kB / 417.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.3974, allocations: 4 kB / 417.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007216/0.3981, allocations: 409.4 kB / 418.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3981, allocations: 8 kB / 418.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3982, allocations: 12 kB / 418.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.3982, allocations: 15.98 kB / 418.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.3985, allocations: 79.78 kB / 418.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.3985, allocations: 15.94 kB / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3987, allocations: 35.73 kB / 418.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3987, allocations: 28.31 kB / 418.5 MB, free: 8.43 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.0002203/0.399, allocations: 186.3 kB / 418.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009184/0.3999, allocations: 298.5 kB / 419 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.4, allocations: 42.64 kB / 419 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4001, allocations: 4 kB / 419 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4001, allocations: 0 / 419 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4001, allocations: 0 / 419 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.4006, allocations: 245.3 kB / 419.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.4006, allocations: 0 / 419.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.4011, allocations: 67.91 kB / 419.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.4011, allocations: 4 kB / 419.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.4011, allocations: 11.98 kB / 419.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4012, allocations: 0 / 419.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4012, allocations: 4 kB / 419.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4023, allocations: 443.6 kB / 419.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.4026, allocations: 132.7 kB / 419.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.4027, allocations: 12 kB / 419.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.403, allocations: 23.92 kB / 420 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.403, allocations: 0 / 420 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.4031, allocations: 11.98 kB / 420 MB, free: 6.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.4033, allocations: 132.3 kB / 420.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4033, allocations: 3.938 kB / 420.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008393/0.4041, allocations: 52 kB / 420.2 MB, free: 6.691 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.0002056/0.4043, allocations: 115.2 kB / 420.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.4053, allocations: 293.7 kB / 420.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4053, allocations: 0 / 420.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.4054, allocations: 4 kB / 420.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4066, allocations: 226.2 kB / 420.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.4089, allocations: 0.571 MB / 421.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.4096, allocations: 0.7802 MB / 422.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4097, allocations: 31.42 kB / 422.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4097, allocations: 0 / 422.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Templates: time 0.01005/0.4198, allocations: 3.014 MB / 425.2 MB, free: 1.609 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/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