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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 209.2 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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=5018,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=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 63.91 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4061, allocations: 53.33 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003427/0.4095, allocations: 1.784 MB / 431.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4109, allocations: 0.6934 MB / 432.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.411, allocations: 7.875 kB / 432.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.4112, allocations: 19.8 kB / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.4114, allocations: 39.72 kB / 432.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.4118, allocations: 143 kB / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.4121, allocations: 163.6 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.4122, allocations: 21.55 kB / 432.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.4124, allocations: 75.69 kB / 432.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.4126, allocations: 111.6 kB / 432.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.4127, allocations: 12 kB / 432.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.568e-05/0.4127, allocations: 16 kB / 432.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.4128, allocations: 75.73 kB / 433 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4129, allocations: 83.47 kB / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.4132, allocations: 220.3 kB / 433.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4132, allocations: 0 / 433.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4132, allocations: 4 kB / 433.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4132, allocations: 0 / 433.3 MB, free: 4.059 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.0008966/0.4141, allocations: 0.514 MB / 433.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4142, allocations: 8.031 kB / 433.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.4144, allocations: 36.75 kB / 433.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.4147, allocations: 263.9 kB / 434.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.4147, allocations: 12.38 kB / 434.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.4148, allocations: 16.38 kB / 434.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4159, allocations: 0.6264 MB / 434.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4159, allocations: 3.984 kB / 434.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.4159, allocations: 8 kB / 434.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.4159, allocations: 12 kB / 434.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.4163, allocations: 195.8 kB / 434.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.4168, allocations: 374.2 kB / 435.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.4173, allocations: 227.6 kB / 435.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4175, allocations: 146.6 kB / 435.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.4176, allocations: 4 kB / 435.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4176, allocations: 38.5 kB / 435.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.4176, allocations: 7.938 kB / 435.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.000881/0.4185, allocations: 417.8 kB / 436.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.4187, allocations: 143 kB / 436.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4189, allocations: 166.4 kB / 436.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4189, allocations: 37.7 kB / 436.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.419, allocations: 97.12 kB / 436.6 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.419, allocations: 51.67 kB / 436.6 MB, free: 448 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.4191, allocations: 74.12 kB / 436.7 MB, free: 368 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4193, allocations: 334.8 kB / 437 MB, free: 24 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.4195, allocations: 76.91 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.4198, allocations: 326.7 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.4204, allocations: 412.9 kB / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4204, allocations: 4 kB / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006123/0.421, allocations: 409.7 kB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.421, allocations: 8 kB / 438.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.421, allocations: 16.08 kB / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.421, allocations: 12 kB / 438.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.4213, allocations: 79.84 kB / 438.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.4213, allocations: 15.94 kB / 438.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.4215, allocations: 35.83 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.4215, allocations: 24 kB / 438.4 MB, free: 14.38 MB / 350.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.0002069/0.4217, allocations: 182.4 kB / 438.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006056/0.4223, allocations: 294.4 kB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.4224, allocations: 42.64 kB / 438.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.4224, allocations: 8 kB / 438.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4224, allocations: 0 / 438.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4224, allocations: 3.938 kB / 438.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.4228, allocations: 253.2 kB / 439.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4228, allocations: 0 / 439.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.4231, allocations: 63.91 kB / 439.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4231, allocations: 4 kB / 439.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.4231, allocations: 7.984 kB / 439.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.4231, allocations: 4 kB / 439.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4231, allocations: 4 kB / 439.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.4238, allocations: 439.8 kB / 439.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.4239, allocations: 128.9 kB / 439.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.424, allocations: 16 kB / 439.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4241, allocations: 19.98 kB / 439.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4242, allocations: 4 kB / 439.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.4242, allocations: 11.98 kB / 439.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.4243, allocations: 132.3 kB / 440 MB, free: 12.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4243, allocations: 0 / 440 MB, free: 12.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.4247, allocations: 55.94 kB / 440 MB, free: 12.64 MB / 350.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.0001971/0.4249, allocations: 111.2 kB / 440.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.4255, allocations: 289.3 kB / 440.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4255, allocations: 0 / 440.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.4255, allocations: 4.5 kB / 440.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.4263, allocations: 216 kB / 440.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4277, allocations: 0.5459 MB / 441.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.4282, allocations: 0.7799 MB / 442 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.08e-05/0.4283, allocations: 30.28 kB / 442 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.4284, allocations: 27.44 kB / 442 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4284, allocations: 4 kB / 442 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.006887/0.4353, allocations: 2.846 MB / 444.9 MB, free: 7.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.984129339456558]