Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001656/0.001656, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001981/0.001981, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.707/1.707, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.89 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2717, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003457/0.2751, allocations: 1.8 MB / 434.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2766, allocations: 0.6816 MB / 434.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2767, allocations: 7.938 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2769, allocations: 19.8 kB / 435 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.2771, allocations: 43.7 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.2776, allocations: 151 kB / 435.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.2779, allocations: 171.5 kB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2781, allocations: 21.73 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.2782, allocations: 75.75 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2785, allocations: 111.6 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2785, allocations: 12 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.2786, allocations: 16 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.2787, allocations: 75.73 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2788, allocations: 87.41 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.2791, allocations: 220.3 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2791, allocations: 0 / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2791, allocations: 0 / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2791, allocations: 0 / 435.9 MB, free: 3.277 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.0009146/0.28, allocations: 441.3 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2801, allocations: 16.02 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2803, allocations: 36.75 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.2806, allocations: 202 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.2806, allocations: 12.38 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.2807, allocations: 20.36 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.2818, allocations: 0.6264 MB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2818, allocations: 4 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2818, allocations: 4 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.2818, allocations: 15.98 kB / 437.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.2822, allocations: 191.8 kB / 437.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.2828, allocations: 337.4 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2832, allocations: 223.6 kB / 438 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.2835, allocations: 147.4 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2835, allocations: 7.938 kB / 438.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2836, allocations: 38.56 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.824e-06/0.2836, allocations: 0 / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008943/0.2845, allocations: 430 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.2846, allocations: 138.6 kB / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.2848, allocations: 174.4 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2848, allocations: 33.7 kB / 439 MB, free: 20 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.2849, allocations: 101.1 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.285, allocations: 47.67 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2851, allocations: 74.12 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2852, allocations: 334.9 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2854, allocations: 76.81 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.2857, allocations: 322.7 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.2862, allocations: 416.9 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2862, allocations: 4 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006255/0.2868, allocations: 405.8 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2868, allocations: 14.66 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.2869, allocations: 12 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.2869, allocations: 8 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2872, allocations: 87.83 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.2872, allocations: 15.94 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.2873, allocations: 27.84 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2874, allocations: 27.98 kB / 440.9 MB, free: 13.82 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.0002082/0.2876, allocations: 198 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.2881, allocations: 289.8 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.771e-05/0.2882, allocations: 34.66 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2882, allocations: 8 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2882, allocations: 3.984 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2882, allocations: 0 / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.2885, allocations: 220.4 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2885, allocations: 7.922 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.2888, allocations: 59.91 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.2888, allocations: 4 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2888, allocations: 15.98 kB / 441.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2889, allocations: 4 kB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2889, allocations: 3.938 kB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.2895, allocations: 445.1 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.2896, allocations: 55.75 kB / 442.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.2897, allocations: 19.98 kB / 442.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2898, allocations: 12 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.2899, allocations: 3.984 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.2899, allocations: 12 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.29, allocations: 131.2 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.29, allocations: 0 / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.2904, allocations: 52 kB / 442.4 MB, free: 12.2 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.000156/0.2905, allocations: 112 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.2911, allocations: 289.1 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2911, allocations: 0.75 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.2911, allocations: 15.98 kB / 442.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.2918, allocations: 208.2 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2932, allocations: 0.567 MB / 443.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.2936, allocations: 0.7837 MB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.2937, allocations: 31.42 kB / 444.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2937, allocations: 0 / 444.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Templates: time 0.005721/0.2994, allocations: 2.994 MB / 447.4 MB, free: 7.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.263466384029016]