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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 191.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=5018,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=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 51.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2828, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003542/0.2864, allocations: 1.741 MB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2876, allocations: 0.5688 MB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2878, allocations: 11.88 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.2879, allocations: 19.8 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.2882, allocations: 43.7 kB / 425.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2886, allocations: 123.7 kB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.2889, allocations: 159.6 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.289, allocations: 25.73 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2892, allocations: 71.75 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.2894, allocations: 103.6 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2894, allocations: 12 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.2895, allocations: 12 kB / 426 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2896, allocations: 79.75 kB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.2897, allocations: 67.58 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.29, allocations: 217.3 kB / 426.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.29, allocations: 3.984 kB / 426.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.29, allocations: 0 / 426.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.29, allocations: 0 / 426.3 MB, free: 11.22 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.0009433/0.2909, allocations: 441.3 kB / 426.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.291, allocations: 16.03 kB / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.2911, allocations: 24.8 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2914, allocations: 190 kB / 427 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.2915, allocations: 16.38 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2915, allocations: 16.38 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2927, allocations: 0.6382 MB / 427.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2927, allocations: 0 / 427.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.2928, allocations: 4 kB / 427.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.2928, allocations: 19.92 kB / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.2932, allocations: 191.8 kB / 427.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.2937, allocations: 262.2 kB / 428.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.2942, allocations: 231.6 kB / 428.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.2945, allocations: 146.6 kB / 428.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.2945, allocations: 8.5 kB / 428.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.2946, allocations: 42.64 kB / 428.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.714e-06/0.2946, allocations: 0 / 428.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009532/0.2955, allocations: 426 kB / 428.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.2957, allocations: 138.7 kB / 429.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2959, allocations: 170.5 kB / 429.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.2959, allocations: 33.64 kB / 429.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.296, allocations: 105.2 kB / 429.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.296, allocations: 47.72 kB / 429.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2961, allocations: 74.12 kB / 429.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2963, allocations: 338.8 kB / 429.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2965, allocations: 68.83 kB / 429.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.2969, allocations: 322.7 kB / 430.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.2974, allocations: 412.9 kB / 430.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2974, allocations: 0 / 430.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006553/0.2981, allocations: 413 kB / 431 MB, free: 6.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2981, allocations: 8 kB / 431 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.2981, allocations: 11.98 kB / 431 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.2981, allocations: 12 kB / 431 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.2984, allocations: 84.53 kB / 431.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.2984, allocations: 19.94 kB / 431.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.2986, allocations: 35.81 kB / 431.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2986, allocations: 20 kB / 431.2 MB, free: 5.852 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.0002005/0.2988, allocations: 186.4 kB / 431.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.2993, allocations: 293.4 kB / 431.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.2994, allocations: 34.64 kB / 431.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2994, allocations: 4 kB / 431.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2994, allocations: 0 / 431.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2994, allocations: 4 kB / 431.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.2997, allocations: 161.1 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2997, allocations: 3.938 kB / 431.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.2999, allocations: 63.89 kB / 431.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2999, allocations: 4 kB / 431.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3, allocations: 8 kB / 432 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3, allocations: 7.938 kB / 432 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3, allocations: 3.984 kB / 432 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.3006, allocations: 433.1 kB / 432.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3008, allocations: 67.56 kB / 432.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3008, allocations: 19.98 kB / 432.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.301, allocations: 12 kB / 432.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.301, allocations: 4 kB / 432.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.301, allocations: 15.98 kB / 432.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3011, allocations: 131.2 kB / 432.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3011, allocations: 4 kB / 432.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004/0.3015, allocations: 48 kB / 432.7 MB, free: 4.309 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.0001535/0.3017, allocations: 112.3 kB / 432.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005714/0.3023, allocations: 289.3 kB / 433.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3023, allocations: 0 / 433.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.3023, allocations: 12.5 kB / 433.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.3031, allocations: 202.9 kB / 433.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3044, allocations: 0.5458 MB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3046, allocations: 169.9 kB / 434 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.3046, allocations: 22.3 kB / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.3047, allocations: 31.42 kB / 434 MB, free: 2.879 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3047, allocations: 0 / 434 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Templates: time 0.007168/0.3119, allocations: 2.984 MB / 437 MB, free: 15.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6575546357780695]