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.001404/0.001404, allocations: 92.31 kB / 20.96 MB, free: 3.48 MB / 18.57 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.001502/0.001502, allocations: 165.6 kB / 24.26 MB, free: 180 kB / 18.57 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 2.073e-06/2.073e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.395e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004437/0.004471, allocations: 1.751 MB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006283, allocations: 0.6504 MB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.006417, allocations: 7.875 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.006622, allocations: 27.72 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.006911, allocations: 39.72 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.007652, allocations: 131.6 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.00789, allocations: 151.5 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.008003, allocations: 25.78 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.008226, allocations: 91.78 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.008448, allocations: 95.75 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.008485, allocations: 12 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.008545, allocations: 19.94 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.008644, allocations: 71.8 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.008726, allocations: 51.83 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.009056, allocations: 227.2 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.009059, allocations: 0 / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.009062, allocations: 4 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.009067, allocations: 0 / 275.7 MB, free: 14.46 MB / 266.7 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.0008964/0.009964, allocations: 441.3 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.009998, allocations: 8.031 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.01022, allocations: 52.73 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.01058, allocations: 209.3 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.01061, allocations: 12.38 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.01065, allocations: 16.38 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.01193, allocations: 0.628 MB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01194, allocations: 192 / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.01196, allocations: 4.375 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.012, allocations: 19.94 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.01246, allocations: 179.8 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.01293, allocations: 282 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.01342, allocations: 223.7 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.01372, allocations: 139.1 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.01376, allocations: 19.94 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.0138, allocations: 42.5 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.01381, allocations: 0 / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001001/0.01481, allocations: 425.3 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.01496, allocations: 142.7 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.01517, allocations: 175 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.0152, allocations: 33.7 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.01527, allocations: 93.14 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.01532, allocations: 43.92 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.0154, allocations: 46.06 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.01559, allocations: 326.8 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.0157, allocations: 48.44 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.01589, allocations: 144.9 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.01619, allocations: 187.8 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01619, allocations: 0 / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004092/0.0166, allocations: 237.2 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.01662, allocations: 15.88 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01663, allocations: 4 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01665, allocations: 4 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.0168, allocations: 35.92 kB / 279.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.01681, allocations: 12.36 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.01691, allocations: 15.94 kB / 279.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.01694, allocations: 12 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (27): * Single equations (assignments): 27 * 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.0001842/0.01713, allocations: 157.8 kB / 280 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/0.01772, allocations: 310.3 kB / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.01781, allocations: 38.64 kB / 280.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01782, allocations: 4 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01782, allocations: 4 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01783, allocations: 0 / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01806, allocations: 157 kB / 280.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.01806, allocations: 8 kB / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.01834, allocations: 59.91 kB / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.01835, allocations: 4 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.01838, allocations: 15.92 kB / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01838, allocations: 0 / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01839, allocations: 0 / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.01914, allocations: 452.7 kB / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.01926, allocations: 51.77 kB / 281.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.01932, allocations: 23.92 kB / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.01947, allocations: 16 kB / 281.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.01952, allocations: 3.984 kB / 281.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.01955, allocations: 12 kB / 281.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.01967, allocations: 127.2 kB / 281.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01967, allocations: 0 / 281.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.02, allocations: 40 kB / 281.3 MB, free: 8.418 MB / 266.7 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.0001532/0.02016, allocations: 115.6 kB / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.02063, allocations: 215.9 kB / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02063, allocations: 0 / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.02067, allocations: 11.92 kB / 281.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.02143, allocations: 211.8 kB / 281.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.02317, allocations: 0.5423 MB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.02337, allocations: 174.4 kB / 282.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.02342, allocations: 13.95 kB / 282.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.0235, allocations: 24.48 kB / 282.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0235, allocations: 0 / 282.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of Templates: time 0.006977/0.03047, allocations: 2.588 MB / 285.2 MB, free: 4.508 MB / 266.7 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: 4.387868450023234]