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.001354/0.001354, allocations: 108.6 kB / 21.18 MB, free: 0.7812 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.001382/0.001382, allocations: 185.9 kB / 24.47 MB, free: 4.207 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.491/1.491, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001559/0.001559, allocations: 51.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2773, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003155/0.2804, allocations: 1.795 MB / 425.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2816, allocations: 0.6155 MB / 426.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2817, allocations: 7.938 kB / 426.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.2818, allocations: 19.8 kB / 426.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.282, allocations: 39.7 kB / 426.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2824, allocations: 123.1 kB / 426.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2827, allocations: 155.6 kB / 426.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2828, allocations: 25.73 kB / 426.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.2829, allocations: 79.69 kB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2832, allocations: 115.6 kB / 426.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.2832, allocations: 12 kB / 426.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.722e-05/0.2832, allocations: 12 kB / 426.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.2833, allocations: 75.8 kB / 426.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2834, allocations: 87.47 kB / 427 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.2837, allocations: 204.3 kB / 427.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2837, allocations: 4 kB / 427.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2837, allocations: 0 / 427.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2837, allocations: 4 kB / 427.2 MB, free: 11.31 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.0008327/0.2845, allocations: 449.2 kB / 427.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2846, allocations: 12.03 kB / 427.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.2846, allocations: 24.8 kB / 427.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.2849, allocations: 194.1 kB / 427.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.285, allocations: 12.38 kB / 427.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.285, allocations: 16.38 kB / 427.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2861, allocations: 0.6343 MB / 428.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2861, allocations: 0 / 428.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2861, allocations: 4 kB / 428.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.2862, allocations: 15.98 kB / 428.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.2866, allocations: 191.8 kB / 428.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.287, allocations: 333.5 kB / 429.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.2875, allocations: 231.5 kB / 429.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.2877, allocations: 146.6 kB / 429.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.2878, allocations: 8.5 kB / 429.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.2878, allocations: 42.55 kB / 429.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.2878, allocations: 0 / 429.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008521/0.2887, allocations: 418.1 kB / 429.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2888, allocations: 146.6 kB / 430.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.289, allocations: 174.7 kB / 430.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.289, allocations: 33.7 kB / 430.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.2891, allocations: 105.1 kB / 430.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.2891, allocations: 43.78 kB / 430.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.2892, allocations: 66.14 kB / 430.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2894, allocations: 338.8 kB / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2895, allocations: 68.83 kB / 430.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2898, allocations: 326.7 kB / 431.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.2903, allocations: 412.9 kB / 431.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.2903, allocations: 4 kB / 431.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006031/0.2909, allocations: 408.9 kB / 432 MB, free: 6.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.291, allocations: 8 kB / 432 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.291, allocations: 12.78 kB / 432 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.291, allocations: 12 kB / 432 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2912, allocations: 87.84 kB / 432.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.2913, allocations: 19.92 kB / 432.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2914, allocations: 31.83 kB / 432.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.2914, allocations: 24 kB / 432.2 MB, free: 5.867 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.0001909/0.2916, allocations: 182.4 kB / 432.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/0.2921, allocations: 293.4 kB / 432.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/0.2922, allocations: 38.64 kB / 432.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2922, allocations: 8 kB / 432.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2922, allocations: 8 kB / 432.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2923, allocations: 3.984 kB / 432.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.2925, allocations: 220.3 kB / 432.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2925, allocations: 0 / 432.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.2928, allocations: 63.91 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.2928, allocations: 4 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2928, allocations: 7.984 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2928, allocations: 4 kB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2928, allocations: 400 / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.2934, allocations: 448.9 kB / 433.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2936, allocations: 51.75 kB / 433.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.2936, allocations: 16 kB / 433.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2938, allocations: 15.98 kB / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.2938, allocations: 0 / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.2938, allocations: 15.98 kB / 433.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2939, allocations: 135.2 kB / 433.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2939, allocations: 0 / 433.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.2943, allocations: 48 kB / 433.7 MB, free: 4.258 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.0001465/0.2944, allocations: 131.9 kB / 433.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.295, allocations: 280.2 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.295, allocations: 0 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.295, allocations: 13.67 kB / 434.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.2957, allocations: 207.6 kB / 434.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2969, allocations: 0.5787 MB / 434.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.2974, allocations: 0.776 MB / 435.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.2974, allocations: 27.44 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2974, allocations: 0 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.005068/0.3025, allocations: 2.966 MB / 438.7 MB, free: 15.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/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: 7.50860561709851]