Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008838/0.0008841, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002018/0.0002017, allocations: 7.984 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.0843, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002018/0.08635, allocations: 1.466 MB / 360.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.08742, allocations: 0.5883 MB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.08755, allocations: 3.938 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.0876, allocations: 7.922 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.08773, allocations: 7.938 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.08815, allocations: 95.78 kB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.0883, allocations: 91.69 kB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.08842, allocations: 33.42 kB / 361.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.08858, allocations: 35.84 kB / 361.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.08867, allocations: 43.72 kB / 361.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.0887, allocations: 4 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.08875, allocations: 8 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.08881, allocations: 23.91 kB / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.08888, allocations: 73.38 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.08904, allocations: 99.58 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.08905, allocations: 0 / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08906, allocations: 0 / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.08907, allocations: 0 / 361.9 MB, free: 10.62 MB / 302.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.0005043/0.08958, allocations: 411.3 kB / 362.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.08963, allocations: 8.031 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.08968, allocations: 46.73 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.08985, allocations: 28.73 kB / 362.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.09007, allocations: 217 kB / 362.6 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.0901, allocations: 12.38 kB / 362.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.09012, allocations: 8.375 kB / 362.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.09058, allocations: 273.6 kB / 362.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.0906, allocations: 0 / 362.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.09062, allocations: 4 kB / 362.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.09063, allocations: 4 kB / 362.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.09077, allocations: 59.91 kB / 363 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.0911, allocations: 310.3 kB / 363.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.09132, allocations: 139.9 kB / 363.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.09145, allocations: 74.61 kB / 363.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.09149, allocations: 7.984 kB / 363.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.09152, allocations: 38.56 kB / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.484e-06/0.09153, allocations: 0 / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003943/0.09193, allocations: 181.8 kB / 363.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.09201, allocations: 130.7 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.09215, allocations: 154.2 kB / 364 MB, free: 8.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.09217, allocations: 29.7 kB / 364 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.09223, allocations: 100.1 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.09226, allocations: 15.89 kB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.0923, allocations: 17.72 kB / 364.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.09241, allocations: 322.8 kB / 364.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.09249, allocations: 31.98 kB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.09261, allocations: 134.5 kB / 364.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.09282, allocations: 186.3 kB / 364.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.09284, allocations: 0 / 364.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002796/0.09312, allocations: 185.2 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.09315, allocations: 8 kB / 365 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.09316, allocations: 4 kB / 365 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.09318, allocations: 4 kB / 365 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.09329, allocations: 31.92 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.09331, allocations: 4.531 kB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.0934, allocations: 27.78 kB / 365.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.09342, allocations: 11.98 kB / 365.1 MB, free: 7.074 MB / 302.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.0001042/0.09353, allocations: 137.7 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.09371, allocations: 113.8 kB / 365.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.09376, allocations: 20.72 kB / 365.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.09377, allocations: 4 kB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.09378, allocations: 0 / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.09379, allocations: 11.92 kB / 365.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.09397, allocations: 197.5 kB / 365.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.09398, allocations: 0 / 365.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.09409, allocations: 35.92 kB / 365.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.0941, allocations: 3.984 kB / 365.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.09412, allocations: 4 kB / 365.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.09412, allocations: 0 / 365.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.09413, allocations: 0 / 365.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.09442, allocations: 260.9 kB / 365.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.09449, allocations: 104.9 kB / 366 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.09452, allocations: 8 kB / 366 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.09461, allocations: 4 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.09465, allocations: 7.875 kB / 366 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.09467, allocations: 11.98 kB / 366 MB, free: 6.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.09475, allocations: 120.1 kB / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09475, allocations: 0 / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.09503, allocations: 24 kB / 366.1 MB, free: 5.918 MB / 302.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.0006248/0.09566, allocations: 0.8388 MB / 367 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.09589, allocations: 112.8 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.09591, allocations: 4.125 kB / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.09595, allocations: 8 kB / 367.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.09639, allocations: 89.95 kB / 367.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.09809, allocations: 1.916 MB / 369.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.09835, allocations: 0.7205 MB / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.0984, allocations: 13.42 kB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.09847, allocations: 35.42 kB / 369.9 MB, free: 1.934 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.09848, allocations: 3.938 kB / 369.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/0.3037, allocations: 2.423 MB / 372.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3039, allocations: 208.6 kB / 372.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.058, allocations: 4.156 kB / 372.5 MB, free: 18.51 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches