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.001181/0.001187, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001105/0.001106, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.518/1.518, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 47.39 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 49.45 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002944/0.1228, allocations: 1.801 MB / 351.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.1236, allocations: 0.5259 MB / 351.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1237, allocations: 4 kB / 351.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.1238, allocations: 3.938 kB / 351.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1239, allocations: 23.84 kB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1243, allocations: 77.94 kB / 351.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1244, allocations: 91.75 kB / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1245, allocations: 33.05 kB / 352.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.1246, allocations: 43.84 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.1247, allocations: 43.72 kB / 352.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1247, allocations: 4 kB / 352.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.1248, allocations: 4 kB / 352.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.1248, allocations: 23.91 kB / 352.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.1249, allocations: 47.66 kB / 352.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.125, allocations: 99.61 kB / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1251, allocations: 0 / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1251, allocations: 0 / 352.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1251, allocations: 0 / 352.3 MB, free: 1.914 MB / 286.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.0006266/0.1257, allocations: 431.2 kB / 352.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1258, allocations: 8.031 kB / 352.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.1258, allocations: 42.73 kB / 352.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1259, allocations: 16.75 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1261, allocations: 216 kB / 353 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1261, allocations: 4.375 kB / 353 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1262, allocations: 12.38 kB / 353 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.1267, allocations: 275.3 kB / 353.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1267, allocations: 8 kB / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1267, allocations: 3.984 kB / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1267, allocations: 0 / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1269, allocations: 51.91 kB / 353.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1273, allocations: 310.4 kB / 353.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1275, allocations: 131.9 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1276, allocations: 74.59 kB / 353.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1277, allocations: 4 kB / 353.9 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1277, allocations: 42.55 kB / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.1277, allocations: 0 / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004074/0.1281, allocations: 173.3 kB / 354.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.1282, allocations: 118.9 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1283, allocations: 153.9 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1284, allocations: 25.83 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1284, allocations: 96.14 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1285, allocations: 19.8 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1285, allocations: 37.7 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1286, allocations: 326.8 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.1287, allocations: 27.98 kB / 354.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1288, allocations: 130.6 kB / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.129, allocations: 170.3 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.129, allocations: 4 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002615/0.1293, allocations: 177.1 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1293, allocations: 8.516 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1294, allocations: 4 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1294, allocations: 8 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1295, allocations: 40.23 kB / 355.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1295, allocations: 7.938 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.1296, allocations: 8 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1296, allocations: 12 kB / 355.4 MB, free: 14.41 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.0001078/0.1297, allocations: 141.6 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.1299, allocations: 117.4 kB / 355.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.13, allocations: 16.72 kB / 355.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.13, allocations: 8 kB / 355.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.13, allocations: 3.938 kB / 355.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.13, allocations: 0 / 355.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1302, allocations: 205.5 kB / 355.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1302, allocations: 0 / 355.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1303, allocations: 31.92 kB / 355.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1304, allocations: 0 / 355.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1304, allocations: 4 kB / 356 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1304, allocations: 7.984 kB / 356 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1304, allocations: 4.328 kB / 356 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1307, allocations: 251.6 kB / 356.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.1308, allocations: 104.9 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1308, allocations: 4 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.1309, allocations: 4 kB / 356.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1309, allocations: 11.92 kB / 356.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.131, allocations: 8 kB / 356.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.131, allocations: 115.2 kB / 356.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.131, allocations: 0 / 356.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1313, allocations: 20 kB / 356.5 MB, free: 13.27 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.0007515/0.1321, allocations: 0.8544 MB / 357.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1323, allocations: 104.8 kB / 357.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1323, allocations: 0 / 357.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.1324, allocations: 12.06 kB / 357.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.1329, allocations: 88.17 kB / 357.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1347, allocations: 1.891 MB / 359.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.135, allocations: 0.7205 MB / 360.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.1351, allocations: 9.422 kB / 360.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.1352, allocations: 35.42 kB / 360.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1352, allocations: 0 / 360.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/0.5039, allocations: 2.468 MB / 362.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.5043, allocations: 218.2 kB / 362.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.439, allocations: 4 kB / 362.9 MB, free: 6.691 MB / 302.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