Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",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.001554/0.001554, allocations: 112 kB / 17.06 MB, free: 5.984 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.001831/0.001832, allocations: 193.4 kB / 18 MB, free: 5.074 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.533/1.533, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3734, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00329/0.3768, allocations: 1.746 MB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3778, allocations: 0.5302 MB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3779, allocations: 11.94 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.378, allocations: 11.86 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3782, allocations: 15.86 kB / 402.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.3786, allocations: 99.33 kB / 402.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3788, allocations: 91.7 kB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3789, allocations: 29.11 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.379, allocations: 43.83 kB / 402.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.3791, allocations: 39.78 kB / 402.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3791, allocations: 8 kB / 402.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.3792, allocations: 8 kB / 402.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.3792, allocations: 27.86 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.3793, allocations: 51.66 kB / 402.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3795, allocations: 114.4 kB / 403.1 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3795, allocations: 0 / 403.1 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.3795, allocations: 3.984 kB / 403.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3796, allocations: 4 kB / 403.1 MB, free: 5.992 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006347/0.3802, allocations: 438.8 kB / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3803, allocations: 11.97 kB / 403.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.3803, allocations: 38.75 kB / 403.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.3804, allocations: 16.84 kB / 403.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3807, allocations: 228 kB / 403.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3807, allocations: 8.375 kB / 403.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.3807, allocations: 4.375 kB / 403.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.3813, allocations: 265.8 kB / 404.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3813, allocations: 0 / 404.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3813, allocations: 0 / 404.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3813, allocations: 4 kB / 404.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3815, allocations: 55.89 kB / 404.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3819, allocations: 306.5 kB / 404.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3822, allocations: 135.7 kB / 404.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.3823, allocations: 74.75 kB / 404.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3824, allocations: 11.98 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3824, allocations: 30.56 kB / 404.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3824, allocations: 0 / 404.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004314/0.3828, allocations: 173.6 kB / 404.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.3829, allocations: 122.9 kB / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3831, allocations: 154.7 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3831, allocations: 25.7 kB / 405.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3832, allocations: 96.12 kB / 405.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3832, allocations: 11.91 kB / 405.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3833, allocations: 41.7 kB / 405.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3835, allocations: 326.7 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.3835, allocations: 31.98 kB / 405.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3837, allocations: 128.1 kB / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3839, allocations: 178.7 kB / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3839, allocations: 0 / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003234/0.3843, allocations: 177.5 kB / 406.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3843, allocations: 11.94 kB / 406.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3843, allocations: 15.88 kB / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3843, allocations: 4 kB / 406.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3845, allocations: 31.98 kB / 406.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.3845, allocations: 11.88 kB / 406.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.3846, allocations: 11.89 kB / 406.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3846, allocations: 16 kB / 406.2 MB, free: 2.473 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001334/0.3847, allocations: 142 kB / 406.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3849, allocations: 113.6 kB / 406.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.385, allocations: 16.72 kB / 406.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.385, allocations: 0 / 406.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.385, allocations: 7.938 kB / 406.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.385, allocations: 3.984 kB / 406.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3853, allocations: 197.5 kB / 406.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3853, allocations: 0 / 406.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3854, allocations: 27.92 kB / 406.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3854, allocations: 8 kB / 406.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3855, allocations: 7.984 kB / 406.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3855, allocations: 0 / 406.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3855, allocations: 7.938 kB / 406.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3858, allocations: 245 kB / 407 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.3859, allocations: 109 kB / 407.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3859, allocations: 3.938 kB / 407.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.386, allocations: 8 kB / 407.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3861, allocations: 3.938 kB / 407.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3861, allocations: 7.984 kB / 407.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.623e-05/0.3862, allocations: 119.1 kB / 407.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 4 kB / 407.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3865, allocations: 16 kB / 407.2 MB, free: 1.336 MB / 318.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008495/0.3873, allocations: 0.853 MB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3876, allocations: 112.4 kB / 408.2 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3876, allocations: 3.938 kB / 408.2 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.3877, allocations: 4 kB / 408.2 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.3882, allocations: 88.56 kB / 408.3 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3903, allocations: 1.867 MB / 410.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.3908, allocations: 0.7241 MB / 410.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.3909, allocations: 13.42 kB / 410.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.3909, allocations: 31.42 kB / 410.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3909, allocations: 4 kB / 410.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4144, allocations: 2.726 MB / 413.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.103, allocations: 10.41 kB / 413.7 MB, free: 10.77 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches