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.001873/0.001874, allocations: 118.2 kB / 17.78 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.002599/0.002599, allocations: 206 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3658, allocations: 50.53 MB / 409.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003346/0.3692, allocations: 1.762 MB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3706, allocations: 0.6817 MB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3708, allocations: 11.88 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.371, allocations: 19.8 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.3713, allocations: 39.72 kB / 411.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.3719, allocations: 127.7 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.3721, allocations: 163.6 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3723, allocations: 29.55 kB / 412.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.3725, allocations: 83.62 kB / 412.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3728, allocations: 107.6 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.3728, allocations: 12 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.3729, allocations: 16 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.373, allocations: 71.81 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3731, allocations: 87.45 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3734, allocations: 215.1 kB / 412.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.97e-05/0.3735, allocations: 0 / 412.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3735, allocations: 0 / 412.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3735, allocations: 0 / 412.7 MB, free: 14.21 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.001047/0.3746, allocations: 0.5192 MB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3746, allocations: 12.03 kB / 413.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.3748, allocations: 32.64 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3752, allocations: 263.7 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3752, allocations: 12.38 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3753, allocations: 16.38 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3765, allocations: 0.6264 MB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3765, allocations: 4 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3765, allocations: 4 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.3766, allocations: 16 kB / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.377, allocations: 191.8 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.3776, allocations: 366.2 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.3781, allocations: 251.6 kB / 414.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.3784, allocations: 158.5 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.3784, allocations: 4 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3785, allocations: 42.55 kB / 415.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.3785, allocations: 4 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008582/0.3793, allocations: 425.8 kB / 415.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3795, allocations: 138.7 kB / 415.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3796, allocations: 166.4 kB / 415.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.3797, allocations: 33.7 kB / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3798, allocations: 101.1 kB / 416 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.3799, allocations: 43.66 kB / 416 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.38, allocations: 74.14 kB / 416.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3801, allocations: 338.8 kB / 416.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3803, allocations: 72.81 kB / 416.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.3806, allocations: 334.6 kB / 416.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.3811, allocations: 412.9 kB / 417.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3811, allocations: 4 kB / 417.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006893/0.3818, allocations: 405.4 kB / 417.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3819, allocations: 8 kB / 417.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3819, allocations: 12 kB / 417.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3819, allocations: 15.88 kB / 417.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3822, allocations: 83.84 kB / 417.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.3822, allocations: 19.92 kB / 417.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3824, allocations: 31.75 kB / 417.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3824, allocations: 20 kB / 417.8 MB, free: 8.508 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.0002221/0.3827, allocations: 194.6 kB / 418 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.3832, allocations: 298.5 kB / 418.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.3833, allocations: 34.66 kB / 418.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3833, allocations: 4 kB / 418.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3833, allocations: 0 / 418.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3833, allocations: 3.984 kB / 418.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3836, allocations: 245.3 kB / 418.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3836, allocations: 0 / 418.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3838, allocations: 67.89 kB / 418.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3839, allocations: 4 kB / 418.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3839, allocations: 12 kB / 418.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3839, allocations: 4 kB / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3839, allocations: 0 / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3845, allocations: 447.6 kB / 419.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3847, allocations: 128.7 kB / 419.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3847, allocations: 19.98 kB / 419.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3849, allocations: 12 kB / 419.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3849, allocations: 3.984 kB / 419.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.385, allocations: 12 kB / 419.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3851, allocations: 132.3 kB / 419.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.3851, allocations: 0 / 419.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.3855, allocations: 55.94 kB / 419.5 MB, free: 6.766 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.0001544/0.3857, allocations: 119.2 kB / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.3863, allocations: 293.8 kB / 419.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3863, allocations: 0 / 419.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.3863, allocations: 7.984 kB / 419.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.387, allocations: 216 kB / 420.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3883, allocations: 0.5381 MB / 420.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.3888, allocations: 0.7801 MB / 421.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.3889, allocations: 22.3 kB / 421.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.389, allocations: 31.42 kB / 421.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.389, allocations: 3.938 kB / 421.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Templates: time 0.006175/0.3952, allocations: 2.68 MB / 424.1 MB, free: 2.02 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