Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002719/0.002719, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.701/1.701, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 51.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003973/0.1539, allocations: 1.773 MB / 428.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1556, allocations: 0.6817 MB / 429.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1557, allocations: 7.938 kB / 429.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1559, allocations: 27.78 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1561, allocations: 43.7 kB / 429.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.1567, allocations: 135.6 kB / 429.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1569, allocations: 155.6 kB / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1571, allocations: 29.48 kB / 429.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.1573, allocations: 75.75 kB / 429.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1576, allocations: 111.6 kB / 429.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1576, allocations: 20 kB / 429.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.1577, allocations: 12 kB / 429.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1578, allocations: 71.8 kB / 429.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1579, allocations: 83.47 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1583, allocations: 211.1 kB / 430.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1583, allocations: 0 / 430.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1583, allocations: 3.984 kB / 430.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1583, allocations: 0 / 430.2 MB, free: 0.8242 MB / 350.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.001064/0.1594, allocations: 0.514 MB / 430.7 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1594, allocations: 15.97 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.1596, allocations: 40.67 kB / 430.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2904/0.45, allocations: 244 kB / 431 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.4501, allocations: 15.38 kB / 431.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.4501, allocations: 19.62 kB / 431.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.4515, allocations: 0.6329 MB / 431.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4515, allocations: 1.562 kB / 431.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.4515, allocations: 6.062 kB / 431.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.4516, allocations: 11.88 kB / 431.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.452, allocations: 191.9 kB / 431.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.4525, allocations: 367.9 kB / 432.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.4529, allocations: 224.5 kB / 432.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.4532, allocations: 145.7 kB / 432.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4533, allocations: 13.55 kB / 432.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4533, allocations: 41.66 kB / 432.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.4533, allocations: 0 / 432.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.000892/0.4542, allocations: 420.9 kB / 433.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4543, allocations: 134 kB / 433.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.4545, allocations: 172.7 kB / 433.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.4546, allocations: 37.83 kB / 433.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.4546, allocations: 99.72 kB / 433.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.4547, allocations: 55.22 kB / 433.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4548, allocations: 70.03 kB / 433.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4549, allocations: 333.8 kB / 434 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4551, allocations: 79.55 kB / 434.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.4553, allocations: 323.3 kB / 434.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.4558, allocations: 413.3 kB / 434.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.4558, allocations: 5.5 kB / 434.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006639/0.4564, allocations: 407 kB / 435.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4565, allocations: 13.09 kB / 435.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4565, allocations: 10.84 kB / 435.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.4565, allocations: 11.41 kB / 435.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4568, allocations: 82.67 kB / 435.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.4568, allocations: 18.06 kB / 435.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.457, allocations: 30.27 kB / 435.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.457, allocations: 23.84 kB / 435.4 MB, free: 9.359 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.0001614/0.4572, allocations: 182.4 kB / 435.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.4577, allocations: 303.4 kB / 435.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.4578, allocations: 34.92 kB / 435.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4578, allocations: 8.172 kB / 435.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4578, allocations: 1.406 kB / 435.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4578, allocations: 2.156 kB / 435.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.458, allocations: 248.6 kB / 436.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.458, allocations: 5.047 kB / 436.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4583, allocations: 69.38 kB / 436.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4583, allocations: 6.156 kB / 436.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.4584, allocations: 9.781 kB / 436.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4584, allocations: 2.156 kB / 436.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4584, allocations: 1.156 kB / 436.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.459, allocations: 433.6 kB / 436.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4591, allocations: 139.1 kB / 436.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.4592, allocations: 20.42 kB / 436.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4593, allocations: 13.84 kB / 436.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4594, allocations: 1.781 kB / 436.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4594, allocations: 14.05 kB / 436.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4595, allocations: 131.2 kB / 437 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4595, allocations: 7.781 kB / 437 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.4599, allocations: 50.09 kB / 437 MB, free: 8.309 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.0001718/0.4601, allocations: 115.4 kB / 437.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.4607, allocations: 284.5 kB / 437.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4607, allocations: 1.156 kB / 437.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.4607, allocations: 7 kB / 437.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.4615, allocations: 205.8 kB / 437.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.4631, allocations: 0.5523 MB / 438.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4635, allocations: 0.7783 MB / 438.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.352e-05/0.4635, allocations: 25.14 kB / 439 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4636, allocations: 29.36 kB / 439 MB, free: 7.027 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4636, allocations: 0 / 439 MB, free: 7.027 MB / 350.1 MB Notification: Performance of Templates: time 0.009851/0.4735, allocations: 2.703 MB / 441.7 MB, free: 6.855 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.369209539145231]