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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001893/0.001893, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.4 MB / 255.4 MB, free: 14.99 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-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=5018,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=5018,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") [Timeout 660] "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.002151/0.002151, allocations: 67.89 kB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1183, allocations: 53.31 MB / 428.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003774/0.1221, allocations: 1.77 MB / 429.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1237, allocations: 0.6934 MB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1239, allocations: 3.938 kB / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1241, allocations: 19.8 kB / 430.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1244, allocations: 39.72 kB / 430.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.1249, allocations: 139.6 kB / 430.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1252, allocations: 155.6 kB / 430.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1254, allocations: 25.48 kB / 430.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.1256, allocations: 83.75 kB / 431 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.1259, allocations: 107.6 kB / 431.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.126, allocations: 15.94 kB / 431.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.126, allocations: 20 kB / 431.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1261, allocations: 67.8 kB / 431.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1263, allocations: 87.47 kB / 431.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1266, allocations: 219 kB / 431.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1266, allocations: 0 / 431.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1266, allocations: 0 / 431.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1267, allocations: 0 / 431.5 MB, free: 0.8828 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.001079/0.1277, allocations: 0.514 MB / 432 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1278, allocations: 8.031 kB / 432 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.128, allocations: 36.75 kB / 432 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2519/0.3799, allocations: 257.9 kB / 432.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.38, allocations: 16.22 kB / 432.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.38, allocations: 18.62 kB / 432.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.3814, allocations: 0.6274 MB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3814, allocations: 0 / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.3814, allocations: 6.094 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.3815, allocations: 11.38 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.3819, allocations: 189.8 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.3823, allocations: 370.2 kB / 433.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.3828, allocations: 224.8 kB / 433.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.383, allocations: 142.9 kB / 433.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3831, allocations: 6.359 kB / 433.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3831, allocations: 41.09 kB / 433.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.664e-06/0.3831, allocations: 3.188 kB / 433.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008207/0.3839, allocations: 424.7 kB / 434.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.384, allocations: 137.4 kB / 434.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3841, allocations: 180.5 kB / 434.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3842, allocations: 30.42 kB / 434.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.3842, allocations: 98.36 kB / 434.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.3842, allocations: 49.3 kB / 434.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.3843, allocations: 69.5 kB / 434.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.3844, allocations: 335.8 kB / 435.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3845, allocations: 76.06 kB / 435.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.3847, allocations: 321.7 kB / 435.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3851, allocations: 415.8 kB / 436 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3851, allocations: 5.703 kB / 436 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005665/0.3857, allocations: 409.5 kB / 436.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3857, allocations: 8.094 kB / 436.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3857, allocations: 12.94 kB / 436.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.453e-05/0.3857, allocations: 15.97 kB / 436.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.386, allocations: 87.22 kB / 436.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.386, allocations: 15.88 kB / 436.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3862, allocations: 31.25 kB / 436.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3862, allocations: 24.47 kB / 436.6 MB, free: 9.246 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.0001588/0.3864, allocations: 186 kB / 436.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/0.3869, allocations: 304.4 kB / 437.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.387, allocations: 33.73 kB / 437.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.387, allocations: 10.8 kB / 437.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.387, allocations: 1.156 kB / 437.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.387, allocations: 3.516 kB / 437.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3872, allocations: 242.5 kB / 437.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3872, allocations: 1.625 kB / 437.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3875, allocations: 60.48 kB / 437.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3875, allocations: 2.656 kB / 437.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3875, allocations: 13.86 kB / 437.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3875, allocations: 11.59 kB / 437.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3875, allocations: 5.094 kB / 437.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.3881, allocations: 432.6 kB / 437.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3882, allocations: 131.7 kB / 438 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.3882, allocations: 16.08 kB / 438 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3884, allocations: 20.22 kB / 438.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3884, allocations: 4.406 kB / 438.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3884, allocations: 14.23 kB / 438.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.3885, allocations: 127 kB / 438.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3885, allocations: 0 / 438.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000401/0.3889, allocations: 50.12 kB / 438.3 MB, free: 8.207 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.0001347/0.3891, allocations: 112.1 kB / 438.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005702/0.3896, allocations: 289.2 kB / 438.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3896, allocations: 0 / 438.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.3897, allocations: 12.41 kB / 438.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.3904, allocations: 215.9 kB / 438.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3917, allocations: 0.5869 MB / 439.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.392, allocations: 0.7797 MB / 440.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.3921, allocations: 30.89 kB / 440.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3921, allocations: 0 / 440.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of Templates: time 0.007291/0.3994, allocations: 3.003 MB / 443.3 MB, free: 6.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.4105538439471275]