Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2672, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003023/0.2703, allocations: 1.768 MB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2716, allocations: 0.6778 MB / 412.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.2716, allocations: 3.938 kB / 412.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.2718, allocations: 19.8 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.272, allocations: 39.72 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2724, allocations: 143.5 kB / 412.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.2727, allocations: 167.5 kB / 413 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2728, allocations: 21.55 kB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.273, allocations: 79.75 kB / 413.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2732, allocations: 99.64 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.2732, allocations: 12 kB / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.2733, allocations: 16 kB / 413.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2734, allocations: 71.73 kB / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2735, allocations: 91.41 kB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.2738, allocations: 214.9 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2738, allocations: 4 kB / 413.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2738, allocations: 4 kB / 413.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2738, allocations: 0 / 413.6 MB, free: 14.03 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.0008709/0.2747, allocations: 0.5062 MB / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2747, allocations: 8.031 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2749, allocations: 40.73 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.2753, allocations: 271.8 kB / 414.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2753, allocations: 16.31 kB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.2754, allocations: 20.38 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2765, allocations: 0.6225 MB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2765, allocations: 0 / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2765, allocations: 8 kB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.2765, allocations: 8 kB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.2769, allocations: 187.8 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2774, allocations: 378.2 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.2779, allocations: 223.6 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.2781, allocations: 142.6 kB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.2782, allocations: 11.94 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2782, allocations: 34.56 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.2782, allocations: 0 / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009178/0.2791, allocations: 429.8 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.2793, allocations: 143 kB / 416.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2795, allocations: 170.4 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2795, allocations: 29.7 kB / 416.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.2796, allocations: 105.1 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.2796, allocations: 51.67 kB / 417 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2797, allocations: 70.14 kB / 417.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2799, allocations: 330.8 kB / 417.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.28, allocations: 76.83 kB / 417.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2804, allocations: 326.7 kB / 417.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.2808, allocations: 416.9 kB / 418.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2809, allocations: 8 kB / 418.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006164/0.2815, allocations: 400.8 kB / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2815, allocations: 9 kB / 418.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.2815, allocations: 11.98 kB / 418.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.2815, allocations: 16 kB / 418.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2818, allocations: 83.84 kB / 418.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.2818, allocations: 19.92 kB / 418.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.282, allocations: 27.84 kB / 418.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.282, allocations: 24.31 kB / 418.8 MB, free: 8.359 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.0001898/0.2822, allocations: 185.5 kB / 418.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/0.2827, allocations: 294.4 kB / 419.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.2828, allocations: 38.64 kB / 419.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.2828, allocations: 4 kB / 419.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2828, allocations: 8 kB / 419.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2828, allocations: 3.984 kB / 419.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2831, allocations: 253.3 kB / 419.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2831, allocations: 3.938 kB / 419.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.2834, allocations: 59.91 kB / 419.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2834, allocations: 3.938 kB / 419.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2834, allocations: 15.98 kB / 419.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2834, allocations: 4 kB / 419.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2834, allocations: 0 / 419.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.284, allocations: 435.8 kB / 420 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2842, allocations: 136.8 kB / 420.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.2842, allocations: 16 kB / 420.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.2844, allocations: 11.98 kB / 420.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.2844, allocations: 4 kB / 420.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.2844, allocations: 19.98 kB / 420.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.2845, allocations: 136.2 kB / 420.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2845, allocations: 0 / 420.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.2849, allocations: 48 kB / 420.4 MB, free: 6.613 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.0001453/0.2851, allocations: 111.2 kB / 420.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.2856, allocations: 285.7 kB / 420.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2856, allocations: 0 / 420.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.2856, allocations: 4 kB / 420.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.2863, allocations: 220.8 kB / 421 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2877, allocations: 0.5529 MB / 421.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.2881, allocations: 0.7799 MB / 422.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.2882, allocations: 26.28 kB / 422.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.2883, allocations: 31.42 kB / 422.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2883, allocations: 0 / 422.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Templates: time 0.006507/0.2948, allocations: 2.682 MB / 425.1 MB, free: 1.867 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches