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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001755/0.001756, allocations: 200 kB / 18.01 MB, free: 5.047 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.641/1.641, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.91 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3229, allocations: 49.43 MB / 400.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003618/0.3266, allocations: 1.76 MB / 402 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.328, allocations: 0.6115 MB / 402.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3281, allocations: 7.938 kB / 402.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.3284, allocations: 23.8 kB / 402.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3286, allocations: 39.47 kB / 402.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3291, allocations: 119.7 kB / 402.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3294, allocations: 163.6 kB / 403 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3295, allocations: 25.56 kB / 403 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3297, allocations: 71.8 kB / 403.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3299, allocations: 107.6 kB / 403.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.33, allocations: 12 kB / 403.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.33, allocations: 16 kB / 403.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3301, allocations: 67.81 kB / 403.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3303, allocations: 87.45 kB / 403.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.3306, allocations: 223 kB / 403.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3306, allocations: 0 / 403.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3306, allocations: 0 / 403.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3306, allocations: 0 / 403.6 MB, free: 5.637 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.0009595/0.3316, allocations: 0.5062 MB / 404.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3317, allocations: 11.97 kB / 404.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/0.3317, allocations: 54.73 kB / 404.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.3318, allocations: 28.8 kB / 404.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.3322, allocations: 259.9 kB / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.3322, allocations: 12.38 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3323, allocations: 16.38 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.3335, allocations: 0.6303 MB / 405.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3335, allocations: 0 / 405.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3335, allocations: 8 kB / 405.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.3336, allocations: 12 kB / 405.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.334, allocations: 183.8 kB / 405.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.3345, allocations: 366.4 kB / 405.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.335, allocations: 239.7 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3353, allocations: 158.6 kB / 406 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.3354, allocations: 12.58 kB / 406 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3354, allocations: 46.48 kB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.3354, allocations: 0 / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009116/0.3363, allocations: 425.4 kB / 406.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.3365, allocations: 147.6 kB / 406.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.3367, allocations: 174.4 kB / 406.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3367, allocations: 29.7 kB / 406.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.3368, allocations: 105.1 kB / 406.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.3369, allocations: 43.77 kB / 407 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.337, allocations: 70.14 kB / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3372, allocations: 338.8 kB / 407.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3374, allocations: 76.83 kB / 407.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.3377, allocations: 322.7 kB / 407.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.3383, allocations: 416.9 kB / 408.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3383, allocations: 4 kB / 408.2 MB, free: 500 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006276/0.3389, allocations: 405.5 kB / 408.6 MB, free: 88 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3389, allocations: 12.22 kB / 408.6 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.339, allocations: 12 kB / 408.6 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.339, allocations: 12 kB / 408.6 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3393, allocations: 83.84 kB / 408.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.3393, allocations: 19.92 kB / 408.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3395, allocations: 27.83 kB / 408.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3395, allocations: 28 kB / 408.8 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.0001983/0.3397, allocations: 183 kB / 408.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.3403, allocations: 297.4 kB / 409.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.3404, allocations: 38.64 kB / 409.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3404, allocations: 4 kB / 409.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3404, allocations: 0 / 409.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3404, allocations: 3.984 kB / 409.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3407, allocations: 249.3 kB / 409.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3407, allocations: 3.938 kB / 409.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.341, allocations: 63.84 kB / 409.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.341, allocations: 4 kB / 409.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.341, allocations: 11.98 kB / 409.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.341, allocations: 4 kB / 409.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.341, allocations: 0 / 409.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.3417, allocations: 435.8 kB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.3419, allocations: 132.9 kB / 410.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.3419, allocations: 16 kB / 410.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3421, allocations: 19.98 kB / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3421, allocations: 0 / 410.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3422, allocations: 15.98 kB / 410.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3423, allocations: 140.4 kB / 410.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 0 / 410.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.3427, allocations: 48 kB / 410.4 MB, free: 14.16 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.001368/0.3441, allocations: 1.188 MB / 411.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.3446, allocations: 288.6 kB / 411.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3446, allocations: 0 / 411.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.3447, allocations: 15.92 kB / 411.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.3454, allocations: 209.1 kB / 412.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.3493, allocations: 2.949 MB / 415 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3498, allocations: 0.7839 MB / 415.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.3499, allocations: 22.28 kB / 415.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.35, allocations: 71.41 kB / 415.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.35, allocations: 4 kB / 415.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3778, allocations: 5.048 MB / 421 MB, free: 3.316 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.068, allocations: 8.562 kB / 421 MB, free: 3.309 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > 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