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.001605/0.001605, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001936/0.001936, allocations: 195 kB / 18 MB, free: 5.105 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.816/1.816, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 47.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3423, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00554/0.3479, allocations: 1.748 MB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.35, allocations: 0.6113 MB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.3503, allocations: 7.938 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3505, allocations: 15.8 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.351, allocations: 47.7 kB / 402.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.3517, allocations: 119.7 kB / 402.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3521, allocations: 159.6 kB / 402.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.3523, allocations: 33.53 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.3526, allocations: 71.75 kB / 403 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.3529, allocations: 103.6 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.353, allocations: 16 kB / 403.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.3531, allocations: 12 kB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3532, allocations: 71.81 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3534, allocations: 95.45 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.3539, allocations: 209 kB / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3539, allocations: 0 / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3539, allocations: 0 / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3539, allocations: 0 / 403.5 MB, free: 5.516 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.001348/0.3553, allocations: 0.5025 MB / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3553, allocations: 19.83 kB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.3555, allocations: 58.72 kB / 404.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3556, allocations: 28.64 kB / 404.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.3561, allocations: 240 kB / 404.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.3562, allocations: 16.38 kB / 404.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.3563, allocations: 16.38 kB / 404.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.3582, allocations: 0.638 MB / 405.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3582, allocations: 0 / 405.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.3582, allocations: 4 kB / 405.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.3583, allocations: 23.92 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.3591, allocations: 183.8 kB / 405.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.3598, allocations: 370.2 kB / 405.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.3606, allocations: 239.6 kB / 405.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.3611, allocations: 158.6 kB / 406 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/0.3612, allocations: 8.641 kB / 406 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3612, allocations: 42.5 kB / 406.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.3612, allocations: 4 kB / 406.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.001603/0.3628, allocations: 421.1 kB / 406.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.363, allocations: 131.7 kB / 406.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.3633, allocations: 170.4 kB / 406.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.3634, allocations: 33.7 kB / 406.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.3635, allocations: 101.1 kB / 406.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.3636, allocations: 47.53 kB / 406.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3637, allocations: 74.17 kB / 407 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3639, allocations: 342.7 kB / 407.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.3642, allocations: 80.81 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.3647, allocations: 326.7 kB / 407.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.3654, allocations: 412.9 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.3654, allocations: 4 kB / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009758/0.3664, allocations: 405.4 kB / 408.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3664, allocations: 8 kB / 408.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3665, allocations: 11.98 kB / 408.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.3665, allocations: 12 kB / 408.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.367, allocations: 87.83 kB / 408.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.367, allocations: 15.94 kB / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.3673, allocations: 27.84 kB / 408.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.3674, allocations: 24 kB / 408.7 MB, free: 15.78 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.0002556/0.3676, allocations: 186.5 kB / 408.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008769/0.3685, allocations: 297.2 kB / 409.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3686, allocations: 34.66 kB / 409.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3687, allocations: 4 kB / 409.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3687, allocations: 4 kB / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3687, allocations: 3.984 kB / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3691, allocations: 249.2 kB / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3692, allocations: 0 / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.3697, allocations: 75.83 kB / 409.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.3697, allocations: 0 / 409.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.3697, allocations: 8 kB / 409.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/0.3698, allocations: 4 kB / 409.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3698, allocations: 3.984 kB / 409.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3709, allocations: 431.7 kB / 410 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3711, allocations: 132.7 kB / 410.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.19e-05/0.3712, allocations: 19.98 kB / 410.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.3715, allocations: 8 kB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3716, allocations: 7.984 kB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3716, allocations: 12 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.3718, allocations: 132.5 kB / 410.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3718, allocations: 0 / 410.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.3727, allocations: 52 kB / 410.4 MB, free: 14.05 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.002461/0.3751, allocations: 1.181 MB / 411.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.3761, allocations: 289.4 kB / 411.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3762, allocations: 0 / 411.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3763, allocations: 7.984 kB / 411.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3775, allocations: 226.7 kB / 412.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.3841, allocations: 2.957 MB / 415 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.3849, allocations: 0.78 MB / 415.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.3851, allocations: 30.27 kB / 415.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.3854, allocations: 71.34 kB / 415.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of SimCode: time 1.674e-06/0.3854, allocations: 0 / 415.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04691/0.4323, allocations: 5.153 MB / 421.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.389/9.822, allocations: 0.625 kB / 421.1 MB, free: 3.094 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