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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.3 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 39.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2864, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003293/0.2898, allocations: 1.805 MB / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2909, allocations: 0.5883 MB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2911, allocations: 7.938 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2913, allocations: 14.86 kB / 401.9 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.2915, allocations: 39.83 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2919, allocations: 108.6 kB / 402 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.2921, allocations: 151.6 kB / 402.2 MB, free: 30.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2922, allocations: 30.52 kB / 402.2 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2923, allocations: 75.69 kB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.2926, allocations: 95.64 kB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.2926, allocations: 8 kB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.2926, allocations: 8 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.2927, allocations: 67.75 kB / 402.5 MB, free: 30.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.2928, allocations: 83.45 kB / 402.5 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.293, allocations: 200.9 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.293, allocations: 0 / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.293, allocations: 0 / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.293, allocations: 0 / 402.7 MB, free: 30.09 MB / 298.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.000766/0.2938, allocations: 0.4986 MB / 403.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2938, allocations: 8.031 kB / 403.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.2939, allocations: 28.59 kB / 403.3 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.2941, allocations: 251.8 kB / 403.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2942, allocations: 20.33 kB / 403.5 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.2942, allocations: 16.38 kB / 403.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.2951, allocations: 0.642 MB / 404.2 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2951, allocations: 0 / 404.2 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.2951, allocations: 4 kB / 404.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.2951, allocations: 8 kB / 404.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.2955, allocations: 187.8 kB / 404.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.2959, allocations: 370.2 kB / 404.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.2962, allocations: 243.6 kB / 405 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2964, allocations: 163.1 kB / 405.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.2965, allocations: 12 kB / 405.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2965, allocations: 38.56 kB / 405.2 MB, free: 27.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.412e-06/0.2965, allocations: 0 / 405.2 MB, free: 27.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007047/0.2972, allocations: 415.1 kB / 405.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.2973, allocations: 142.9 kB / 405.7 MB, free: 26.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2974, allocations: 170.5 kB / 405.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2974, allocations: 29.7 kB / 405.9 MB, free: 26.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.2975, allocations: 101 kB / 406 MB, free: 26.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.2975, allocations: 51.53 kB / 406.1 MB, free: 26.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.2976, allocations: 70.12 kB / 406.2 MB, free: 26.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.2977, allocations: 334.8 kB / 406.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2978, allocations: 72.83 kB / 406.6 MB, free: 26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.298, allocations: 326.7 kB / 406.9 MB, free: 25.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2983, allocations: 416.9 kB / 407.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2983, allocations: 4 kB / 407.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004675/0.2988, allocations: 408.9 kB / 407.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2988, allocations: 8 kB / 407.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2988, allocations: 11.94 kB / 407.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2988, allocations: 16.8 kB / 407.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2991, allocations: 91.78 kB / 407.8 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.2991, allocations: 15.94 kB / 407.8 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.2992, allocations: 35.73 kB / 407.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2992, allocations: 23.94 kB / 407.9 MB, free: 24.43 MB / 298.7 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.0001345/0.2994, allocations: 180.1 kB / 408.1 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.2998, allocations: 294.3 kB / 408.4 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.2999, allocations: 34.64 kB / 408.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2999, allocations: 7.984 kB / 408.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2999, allocations: 4 kB / 408.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2999, allocations: 4 kB / 408.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3001, allocations: 257.2 kB / 408.7 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3001, allocations: 0 / 408.7 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3003, allocations: 59.91 kB / 408.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3003, allocations: 0 / 408.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3004, allocations: 15.98 kB / 408.7 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3004, allocations: 0 / 408.7 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3004, allocations: 4 kB / 408.7 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.3012, allocations: 1.173 MB / 409.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/0.3014, allocations: 120.8 kB / 410 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3014, allocations: 19.98 kB / 410 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3015, allocations: 19.98 kB / 410.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3016, allocations: 7.938 kB / 410.1 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3016, allocations: 8 kB / 410.1 MB, free: 22.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.3017, allocations: 135.5 kB / 410.2 MB, free: 21.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3017, allocations: 0 / 410.2 MB, free: 21.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.3021, allocations: 51.91 kB / 410.3 MB, free: 21.91 MB / 298.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.0001162/0.3023, allocations: 112.5 kB / 410.4 MB, free: 21.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.3027, allocations: 289.8 kB / 410.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3027, allocations: 4 kB / 410.7 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.3027, allocations: 8.422 kB / 410.7 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.3033, allocations: 223.8 kB / 410.9 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3045, allocations: 0.847 MB / 411.7 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3048, allocations: 0.7881 MB / 412.5 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.3048, allocations: 22.3 kB / 412.5 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.3049, allocations: 31.42 kB / 412.6 MB, free: 19.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3049, allocations: 0 / 412.6 MB, free: 19.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004986/0.3099, allocations: 2.597 MB / 415.2 MB, free: 16.93 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches