Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 110.3 kB / 17.06 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002631/0.002631, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001632, allocations: 43.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4008, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003715/0.4046, allocations: 1.753 MB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.406, allocations: 0.6116 MB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.4062, allocations: 3.938 kB / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.4064, allocations: 23.8 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.4067, allocations: 39.7 kB / 403.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.4072, allocations: 119.7 kB / 403.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.4074, allocations: 163.5 kB / 403.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4076, allocations: 29.55 kB / 403.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.4077, allocations: 71.75 kB / 403.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.408, allocations: 103.6 kB / 403.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.408, allocations: 16 kB / 403.7 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.408, allocations: 12 kB / 403.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.4081, allocations: 67.81 kB / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.4082, allocations: 91.45 kB / 403.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.4085, allocations: 219 kB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4085, allocations: 4 kB / 404 MB, free: 5.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4085, allocations: 4 kB / 404 MB, free: 5.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4086, allocations: 0 / 404 MB, free: 5.543 MB / 318.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.0008169/0.4094, allocations: 0.4921 MB / 404.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4094, allocations: 15.89 kB / 404.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.4095, allocations: 24.66 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.4098, allocations: 251.9 kB / 404.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.4098, allocations: 16.38 kB / 404.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4099, allocations: 16.38 kB / 404.9 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4109, allocations: 0.6459 MB / 405.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.411, allocations: 0 / 405.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.411, allocations: 7.984 kB / 405.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.411, allocations: 12 kB / 405.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.4114, allocations: 183.8 kB / 405.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.4119, allocations: 374.2 kB / 406.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.4123, allocations: 239.6 kB / 406.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.4126, allocations: 166.6 kB / 406.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4126, allocations: 4.5 kB / 406.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4127, allocations: 42.66 kB / 406.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.4127, allocations: 0 / 406.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008322/0.4135, allocations: 417.1 kB / 406.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4136, allocations: 143.8 kB / 407.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4138, allocations: 170.4 kB / 407.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4138, allocations: 33.7 kB / 407.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.4139, allocations: 93.14 kB / 407.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.4139, allocations: 51.53 kB / 407.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.414, allocations: 74.03 kB / 407.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4142, allocations: 338.8 kB / 407.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4143, allocations: 76.83 kB / 407.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.4146, allocations: 326.7 kB / 408.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.415, allocations: 416.9 kB / 408.6 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.415, allocations: 4 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005788/0.4156, allocations: 401.6 kB / 409 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4156, allocations: 8 kB / 409 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4156, allocations: 8.406 kB / 409 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4157, allocations: 16 kB / 409 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.416, allocations: 87.83 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.416, allocations: 15.94 kB / 409.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.4161, allocations: 27.84 kB / 409.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4162, allocations: 31.97 kB / 409.2 MB, free: 15.88 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.0001956/0.4164, allocations: 179.1 kB / 409.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.4169, allocations: 297.2 kB / 409.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.417, allocations: 42.59 kB / 409.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.417, allocations: 7.984 kB / 409.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.417, allocations: 4 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.417, allocations: 0 / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.4172, allocations: 249.2 kB / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4173, allocations: 0 / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4175, allocations: 63.91 kB / 410 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4175, allocations: 4 kB / 410 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4175, allocations: 11.98 kB / 410 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4176, allocations: 4 kB / 410 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4176, allocations: 4 kB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.4182, allocations: 435.6 kB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4183, allocations: 128.7 kB / 410.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.4183, allocations: 19.98 kB / 410.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4185, allocations: 11.98 kB / 410.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.4185, allocations: 8 kB / 410.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.4186, allocations: 12 kB / 410.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.4187, allocations: 132.5 kB / 410.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4187, allocations: 0 / 410.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.4191, allocations: 52 kB / 410.8 MB, free: 14.14 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.0001422/0.4192, allocations: 123.2 kB / 410.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.4197, allocations: 293.4 kB / 411.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4197, allocations: 0 / 411.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.4198, allocations: 11.98 kB / 411.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.4205, allocations: 220.8 kB / 411.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4217, allocations: 0.538 MB / 412 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.4221, allocations: 0.78 MB / 412.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.587e-05/0.4222, allocations: 22.3 kB / 412.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.4223, allocations: 31.42 kB / 412.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4223, allocations: 0 / 412.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.006304/0.4286, allocations: 2.673 MB / 415.5 MB, free: 9.402 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches