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.001608/0.001608, allocations: 114 kB / 17.06 MB, free: 6.004 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.002028/0.002028, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001838, allocations: 43.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4273, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004137/0.4315, allocations: 1.734 MB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4329, allocations: 0.5403 MB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.4331, allocations: 3.938 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.694e-05/0.4332, allocations: 11.86 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.4335, allocations: 15.81 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.4341, allocations: 95.7 kB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.4343, allocations: 87.77 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.4344, allocations: 33.09 kB / 402.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.4346, allocations: 43.78 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4347, allocations: 47.77 kB / 402.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.4347, allocations: 8 kB / 402.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.4348, allocations: 4 kB / 402.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.4348, allocations: 27.86 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.4349, allocations: 51.67 kB / 402.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.4351, allocations: 111.6 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4351, allocations: 0 / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4352, allocations: 0 / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4352, allocations: 0 / 403 MB, free: 6 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.0006892/0.4359, allocations: 428.6 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4359, allocations: 8.031 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.436, allocations: 50.67 kB / 403.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.4361, allocations: 16.75 kB / 403.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.4365, allocations: 228 kB / 403.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.4365, allocations: 4.375 kB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4365, allocations: 12.38 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.4371, allocations: 261.8 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4371, allocations: 4 kB / 404 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4372, allocations: 3.938 kB / 404 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4372, allocations: 0 / 404 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4373, allocations: 55.95 kB / 404.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.4378, allocations: 306.4 kB / 404.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.4381, allocations: 135.9 kB / 404.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4383, allocations: 70.59 kB / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.4383, allocations: 12.08 kB / 404.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4384, allocations: 42.48 kB / 404.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.4384, allocations: 0 / 404.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004954/0.4389, allocations: 173.4 kB / 404.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.439, allocations: 114.8 kB / 404.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4392, allocations: 154.7 kB / 405.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4392, allocations: 25.7 kB / 405.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.4393, allocations: 96.08 kB / 405.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.4393, allocations: 19.8 kB / 405.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.4394, allocations: 37.7 kB / 405.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4396, allocations: 330.9 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.4397, allocations: 27.98 kB / 405.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.4398, allocations: 136.2 kB / 405.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.4401, allocations: 166.4 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4401, allocations: 4 kB / 405.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003528/0.4405, allocations: 173.2 kB / 406.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4405, allocations: 11.92 kB / 406.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4405, allocations: 4 kB / 406.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4406, allocations: 8 kB / 406.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4407, allocations: 31.92 kB / 406.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.4408, allocations: 8.469 kB / 406.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4409, allocations: 15.91 kB / 406.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.4409, allocations: 12 kB / 406.2 MB, free: 2.492 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.0001686/0.4411, allocations: 141.6 kB / 406.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4413, allocations: 121.4 kB / 406.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.4414, allocations: 17.19 kB / 406.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4414, allocations: 4 kB / 406.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4414, allocations: 3.938 kB / 406.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4414, allocations: 3.938 kB / 406.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4417, allocations: 197.6 kB / 406.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4417, allocations: 7.938 kB / 406.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4418, allocations: 27.98 kB / 406.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4418, allocations: 0 / 406.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4419, allocations: 4 kB / 406.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4419, allocations: 7.984 kB / 406.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4419, allocations: 3.938 kB / 406.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.4422, allocations: 252.9 kB / 406.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4423, allocations: 104.9 kB / 407 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4424, allocations: 4 kB / 407.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.4425, allocations: 4 kB / 407.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4425, allocations: 7.938 kB / 407.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4425, allocations: 4 kB / 407.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.4426, allocations: 119.1 kB / 407.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4426, allocations: 0 / 407.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.443, allocations: 20 kB / 407.2 MB, free: 1.348 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.0008821/0.4439, allocations: 0.8533 MB / 408.1 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.4442, allocations: 111.8 kB / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4442, allocations: 0 / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.4442, allocations: 11.94 kB / 408.2 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.4448, allocations: 88.98 kB / 408.3 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.447, allocations: 1.867 MB / 410.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4474, allocations: 0.7241 MB / 410.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.108e-05/0.4475, allocations: 9.438 kB / 410.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.4476, allocations: 35.36 kB / 410.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4476, allocations: 0 / 410.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.474, allocations: 2.779 MB / 413.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.93, allocations: 7.875 kB / 413.7 MB, free: 10.73 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