Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001222/0.001222, allocations: 102.8 kB / 16.92 MB, free: 6.191 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.001334/0.001334, allocations: 191.3 kB / 17.85 MB, free: 5.301 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.457/1.457, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 48.73 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 49.43 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.004398/0.1289, allocations: 1.555 MB / 351.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.13, allocations: 470.7 kB / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1302, allocations: 8 kB / 352.2 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.1303, allocations: 3.938 kB / 352.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1304, allocations: 15.86 kB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1308, allocations: 54.69 kB / 352.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1309, allocations: 39.86 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.1311, allocations: 12 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.1312, allocations: 31.86 kB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.1313, allocations: 23.84 kB / 352.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1313, allocations: 4 kB / 352.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.1313, allocations: 4 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.1314, allocations: 11.98 kB / 352.4 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1314, allocations: 19.81 kB / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1316, allocations: 59.73 kB / 352.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1316, allocations: 4 kB / 352.5 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1316, allocations: 0 / 352.5 MB, free: 2.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1316, allocations: 0 / 352.5 MB, free: 2.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007102/0.1324, allocations: 375.3 kB / 352.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.1324, allocations: 8.031 kB / 352.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1325, allocations: 34.75 kB / 352.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1326, allocations: 8.844 kB / 352.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1328, allocations: 192.2 kB / 353.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1329, allocations: 8.312 kB / 353.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1329, allocations: 4.375 kB / 353.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1332, allocations: 113.2 kB / 353.2 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1333, allocations: 4 kB / 353.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1333, allocations: 0 / 353.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1333, allocations: 0 / 353.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.1334, allocations: 15.98 kB / 353.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1339, allocations: 277.6 kB / 353.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.134, allocations: 37.22 kB / 353.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.134, allocations: 25.77 kB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1341, allocations: 7.922 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1341, allocations: 38.5 kB / 353.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1341, allocations: 0 / 353.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002977/0.1344, allocations: 73.52 kB / 353.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1345, allocations: 77.11 kB / 353.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1346, allocations: 138.1 kB / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1347, allocations: 25.7 kB / 353.9 MB, free: 356 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1347, allocations: 96.33 kB / 354 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1348, allocations: 0 / 354 MB, free: 256 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1348, allocations: 17.72 kB / 354 MB, free: 232 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.135, allocations: 318.8 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.135, allocations: 8 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.1351, allocations: 21.7 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.1351, allocations: 37.7 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1352, allocations: 0 / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.1353, allocations: 53.59 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1353, allocations: 6.812 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.1353, allocations: 0 / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1354, allocations: 4 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1355, allocations: 7.984 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1355, allocations: 8 kB / 354.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.1355, allocations: 0 / 354.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1355, allocations: 4 kB / 354.5 MB, free: 15.74 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001137/0.1357, allocations: 117.8 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.1357, allocations: 41.59 kB / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.1358, allocations: 7.875 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1358, allocations: 7.938 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1358, allocations: 3.984 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1358, allocations: 4.031 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.136, allocations: 169.6 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.136, allocations: 0 / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1361, allocations: 11.98 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1361, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1361, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1361, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.1361, allocations: 7.938 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1363, allocations: 164.2 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1364, allocations: 93 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1364, allocations: 0 / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1365, allocations: 4 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1365, allocations: 0 / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1365, allocations: 4 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.1366, allocations: 114.1 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1366, allocations: 0 / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1369, allocations: 8.031 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005516/0.1374, allocations: 0.6976 MB / 355.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1376, allocations: 24.02 kB / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1376, allocations: 0 / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.1377, allocations: 15.94 kB / 355.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.1383, allocations: 16.02 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1401, allocations: 1.304 MB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1406, allocations: 0.6885 MB / 357.9 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.1406, allocations: 11.97 kB / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1407, allocations: 15.42 kB / 358 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1407, allocations: 0 / 358 MB, free: 11.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1655, allocations: 1.502 MB / 359.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.429, allocations: 0 / 359.5 MB, free: 10.56 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches