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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111.4 kB / 17.74 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 188.5 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2784, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002898/0.2814, allocations: 1.745 MB / 403.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2825, allocations: 0.6155 MB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2826, allocations: 3.938 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2828, allocations: 19.8 kB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.283, allocations: 39.7 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2834, allocations: 123.7 kB / 404 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2836, allocations: 155.6 kB / 404.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2837, allocations: 33.53 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2839, allocations: 71.75 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2841, allocations: 111.6 kB / 404.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.2841, allocations: 16 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.2842, allocations: 12 kB / 404.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.2843, allocations: 63.83 kB / 404.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.2844, allocations: 95.45 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.2846, allocations: 215 kB / 404.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2846, allocations: 3.938 kB / 404.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2846, allocations: 4 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2846, allocations: 0 / 404.7 MB, free: 5.547 MB / 318.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.0007821/0.2854, allocations: 0.4921 MB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2854, allocations: 15.89 kB / 405.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2855, allocations: 24.66 kB / 405.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.2858, allocations: 255.9 kB / 405.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.2858, allocations: 16.31 kB / 405.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.2859, allocations: 16.38 kB / 405.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.2869, allocations: 0.6421 MB / 406.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2869, allocations: 0 / 406.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2869, allocations: 4 kB / 406.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.287, allocations: 20 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.2873, allocations: 183.8 kB / 406.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.2878, allocations: 366.2 kB / 406.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.2882, allocations: 243.7 kB / 407 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2884, allocations: 158.5 kB / 407.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2885, allocations: 4.5 kB / 407.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2885, allocations: 42.5 kB / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.2885, allocations: 0 / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008039/0.2893, allocations: 425.3 kB / 407.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.2895, allocations: 143.6 kB / 407.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2896, allocations: 170.4 kB / 407.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2896, allocations: 33.7 kB / 407.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.2897, allocations: 93.14 kB / 408 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2897, allocations: 47.53 kB / 408.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.2898, allocations: 82.16 kB / 408.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.29, allocations: 330.8 kB / 408.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2901, allocations: 80.77 kB / 408.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2904, allocations: 322.7 kB / 408.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.2907, allocations: 416.9 kB / 409.3 MB, free: 488 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2908, allocations: 4 kB / 409.3 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005253/0.2913, allocations: 405.5 kB / 409.7 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2913, allocations: 8 kB / 409.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2913, allocations: 8.312 kB / 409.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2914, allocations: 12 kB / 409.7 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2916, allocations: 87.83 kB / 409.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.2916, allocations: 15.94 kB / 409.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2918, allocations: 27.83 kB / 409.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.2918, allocations: 27.98 kB / 409.9 MB, free: 15.89 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.0001779/0.292, allocations: 187.2 kB / 410 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.2925, allocations: 293.2 kB / 410.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.2926, allocations: 42.58 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2926, allocations: 4 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2926, allocations: 4 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2926, allocations: 0 / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2928, allocations: 257.2 kB / 410.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2928, allocations: 0 / 410.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.2931, allocations: 59.91 kB / 410.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2931, allocations: 4 kB / 410.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.2931, allocations: 11.98 kB / 410.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2931, allocations: 7.938 kB / 410.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2932, allocations: 3.938 kB / 410.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.2937, allocations: 431.7 kB / 411.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2938, allocations: 136.7 kB / 411.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.2939, allocations: 19.98 kB / 411.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.294, allocations: 11.98 kB / 411.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.2941, allocations: 4 kB / 411.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.2941, allocations: 12 kB / 411.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.2942, allocations: 132.5 kB / 411.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2942, allocations: 0 / 411.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.2946, allocations: 52 kB / 411.5 MB, free: 14.15 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.0001378/0.2947, allocations: 127.1 kB / 411.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.2952, allocations: 285.8 kB / 411.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2952, allocations: 4.062 kB / 411.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.2953, allocations: 11.98 kB / 411.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.2959, allocations: 211.8 kB / 412.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2971, allocations: 0.577 MB / 412.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.2974, allocations: 0.7801 MB / 413.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.2974, allocations: 23.44 kB / 413.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of SimCode: time 1.462e-06/0.2975, allocations: 0 / 413.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Templates: time 0.004581/0.302, allocations: 2.979 MB / 416.5 MB, free: 9.098 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (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) 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) Reference file matches